iredscarf / onedrive-index Goto Github PK
View Code? Open in Web Editor NEWOneDrive public directory listing, and One-Click Deploy to Vercel. Powered by Vercel and Next.js.
Home Page: https://odi.freeloop.one
License: MIT License
OneDrive public directory listing, and One-Click Deploy to Vercel. Powered by Vercel and Next.js.
Home Page: https://odi.freeloop.one
License: MIT License
I am having this issue when I try to say hotlink a file hosted thru this, it will just download on the users machine, I want it just to display in the browser.
Example link: https://ftp.3kh0.net/api/raw/?path=/Goofy%20stuff/memes/20230922_203651000_iOS.mov
This always downloads the video, is there a way to just make it use the built in browser video player?
Hi, Greetings and thank you for your valuable efforts.
I kindly request your assistance in guiding me towards a resolution for the current predicament.
Step 3/3: Retrieving access and refresh tokens
. An error message was displayed stating, Whoops, it appears that we have encountered a problem: invalid_client
.AADSTS7000218: The request body must contain the following parameter: 'client_assertion' or 'client_secret'.
Trace ID: 2cbdbd67-1bb8-4da3-8456-b8d2a47e4100
Correlation ID: 7faed391-0c0a-4104-add8-ffae24069f1e
Timestamp: 2023-09-29 07:54:00Z
I'm not sure what is going on here but first, I'm grateful that I don't need to manually fill in the REDIS_URL and the Client_ID and Client_Secret is now an Env in the Vercel project.
right, I'm getting an error on the last step.
AADSTSXXXXXX : The request body must contain the following parameter: 'client_assertion' or 'client_secret'. Trace ID: XXXXXXXXX Correlation ID: XXXXXXXXXXX Timestamp: 2024-04-XX
the account is an E5 account and I think I did the client_id and client_secret correctly on the Azure site and also on the Vercel deployment.
I'd really appreciate it if you can help me out, thank you.
I am doing everything correctly but I still have a problem. Is there any way to contact you, e.g. via discord?
After adding in variables NEXT_PUBLIC_PROTECTED_ROUTES: /Index/protect1,/Index/protect2
uploading .password files that includes passwords in protect1 and protect2, folders are not protected and .password file does not vanish.
Looks like this:
One thing i do to make vlc streaming works i did change my vercel domain simply to mysitename.vercel.app(name is an example not my actual domain.
Can you help me with that?
i don't know clearly about Prefix for KV storage and should be telegram channel for next update and Questions and Issue.
i want to show all share content in one Onedrive account ?
Is it possible ?
i am testing with multiple onedrive accounts but i have face an issue with KV storage ?
There's any way to hide .password file? because I want to share my folder but if person access the folder and put the password, the file can be viewed/downloaded.
Other thing: there's anyway I can protect the folder but not folders inside?
Hey first of all thanks for creating the index.
after successfully installing the index I am not able to stream videos with the index direct link. I tried MX,VLC etc
but when i put the direct link on the browser it is downloading correctly.
so where is the issue. pls help.
It was working, without problems, and without any configuration changes, I have this error. Thanks!
This message appears on the screen as an error
https://privatebin.net/?310844f44184e3dd#GyaLQBhXuP63JSfNSCM2h3gvyADrCaTpYXGxbqcGARdC
Press F12 and open devtools for more details, or seek help at [onedrive-index discussions](https://github.com/iRedScarf/onedrive-index/discussions).
And from F12:
https://privatebin.net/?484cc10c173ac677#BkbH2vtUStejsAN2uBRP6N55qSPh8LgPRWssUZHdrZmB
What I think got messed up is that I changed my Microsoft password this past week, and I found out that my Onedrive index started failing, here are the server logs
Edit: I also have tried to regenerate a Client secret and encrypt, then put it in the environment variables, but that did not work. Any help would be much appreciated.
ray],
transformResponse: [Array],
timeout: 0,
xsrfCookieName: 'XSRF-TOKEN',
xsrfHeaderName: 'X-XSRF-TOKEN',
maxContentLength: -1,
maxBodyLength: -1,
env: [Object],
validateStatus: [Function: validateStatus],
headers: [AxiosHeaders],
method: 'post',
url: 'https://login.microsoftonline.com/common/oauth2/v2.0/token',
data: 'client_id=d198879a-48ba-408a-9e12-8991d8976f1f&redirect_uri=http%3A%2F%2Flocalhost&client_secret=umi8Q%7EPGCcHz1JZLUra.EVmxecq5yzzZffurlczC&refresh_token=M.C106_BAY.-CbPzMjtgZbX2ByJhkrj8Iw*TjD8RcJCMmeZN6kKN6ZRkGhqHNuWDuc7MO09R6zjjDZmPliwrIaYpxZ%21*69CsjdGDSvo5q3IlbSPQGBUagl%21BmFinh5xOOeB2zPa3vQVmsRZTv8po1b7fhYUziEP1nr8yocfs6hrjsSrsWp3x5dqO0ZrFAklAd9Sp5GUE3jRh2toLQjDTC0%21DpiPeEJ%21RaSopv8GqQED0zjS950McXU5q%21Zb1IwbDajCX0cGXa6YIV*fhHQDgwa9lgowtsqEvDaN67F5uS8sxJE8Fb%21FCBvsAMb8miWY1M9IjFQ5r6tBkip*CQ%21npN2LmF9pG4EHcVJDmpFG9SeL*V0LVBjhh7oXJrO8dG14nT7n7Q9HeQHBLDA%24%24&grant_type=refresh_token'
},
request: <ref *1> ClientRequest {
_events: [Object: null prototype],
_eventsCount: 7,
_maxListeners: undefined,
outputData: [],
outputSize: 0,
writable: true,
destroyed: false,
_last: true,
chunkedEncoding: false,
shouldKeepAlive: false,
maxRequestsOnConnectionReached: false,
_defaultKeepAlive: true,
useChunkedEncodingByDefault: true,
sendDate: false,
_removedConnection: false,
_removedContLen: false,
_removedTE: false,
strictContentLength: false,
_contentLength: '597',
_hasBody: true,
_trailer: '',
finished: true,
_headerSent: true,
_closed: false,
socket: [TLSSocket],
_header: 'POST /common/oauth2/v2.0/token HTTP/1.1\r\n' +
'Accept: application/json, text/plain, */*\r\n' +
'Content-Type: application/x-www-form-urlencoded\r\n' +
'User-Agent: axios/1.2.6\r\n' +
'Content-Length: 597\r\n' +
'Accept-Encoding: gzip, compress, deflate, br\r\n' +
'x-vercel-id: iad1::jp2mr-1698271464992-71d4f661627a\r\n' +
'Host: login.microsoftonline.com\r\n' +
'Connection: close\r\n' +
'\r\n',
_keepAliveTimeout: 0,
_onPendingData: [Function: nop],
agent: [Agent],
socketPath: undefined,
method: 'POST',
maxHeaderSize: undefined,
insecureHTTPParser: undefined,
joinDuplicateHeaders: undefined,
path: '/common/oauth2/v2.0/token',
_ended: true,
res: [IncomingMessage],
aborted: false,
timeoutCb: null,
upgradeOrConnect: false,
parser: null,
maxHeadersCount: null,
reusedSocket: false,
host: 'login.microsoftonline.com',
protocol: 'https:',
_redirectable: [Writable],
[Symbol(kCapture)]: false,
[Symbol(kBytesWritten)]: 0,
[Symbol(kNeedDrain)]: false,
[Symbol(corked)]: 0,
[Symbol(kOutHeaders)]: [Object: null prototype],
[Symbol(errored)]: null,
[Symbol(kHighWaterMark)]: 16384,
[Symbol(kRejectNonStandardBodyWrites)]: false,
[Symbol(kUniqueHeaders)]: null
},
data: {
error: 'invalid_grant',
error_description: 'AADSTS70000: The user could not be authenticated as the grant is expired. The user must sign in again.\r\n' +
'Trace ID: 6f4ebff6-9dd1-40e8-a65b-acddb00e7200\r\n' +
'Correlation ID: 390ebff9-bd65-413a-a2b6-27ca6d8dc736\r\n' +
'Timestamp: 2023-10-25 22:04:26Z',
error_codes: [Array],
timestamp: '2023-10-25 22:04:26Z',
trace_id: '6f4ebff6-9dd1-40e8-a65b-acddb00e7200',
correlation_id: '390ebff9-bd65-413a-a2b6-27ca6d8dc736',
error_uri: 'https://login.microsoftonline.com/error?code=70000'
}
}
}
Error: Runtime exited with error: exit status 1
Runtime.ExitError
When ever I open a pdf in the index it makes me download it. Can we get an in-built pdf viewer?
And can there automatically be grid view whenever we open images section like you can set that the folder named 'Photos' or 'Images' be open automatically to grid view
My account is E5, and I'm getting this error when trying to log in.
AADSTS900144: The request body must contain the following parameter: 'client_id'.
I have another question, off topic, about E5, can I made here? write to you?
Many thanks
I did every step that is told, I have my app (client) id that i created, i made obfuscated client secret. In user principal id i wrote my mail:" [email protected]". My base directory is: "/Index files". And password protected files that i configured in vercel were in directory: "/Index files/test1,/Index files/test2". Also i already set the api permissions: user.read, files.read.all, offline_access. When i open site after deploying on vercel all i got is that. When i deploy and see whats vercel building i see that messages:
oredis] Unhandled error event: Error: connect ECONNREFUSED 127.0.0.1:6379 -- 17:21:43.858 | at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1555:16) 17:21:43.912 | [ioredis] Unhandled error event: Error: connect ECONNREFUSED 127.0.0.1:6379 17:21:43.912 | at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1555:16) 17:21:44.183 | [ioredis] Unhandled error event: Error: connect ECONNREFUSED 127.0.0.1:6379 17:21:44.185 | at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1555:16) 17:21:44.185 | [ioredis] Unhandled error event: Error: connect ECONNREFUSED 127.0.0.1:6379 17:21:44.186 | at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1555:16) 17:21:44.386 | [ioredis] Unhandled error event: Error: connect ECONNREFUSED 127.0.0.1:6379 17:21:44.386 | at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1555:16) 17:21:44.690 | [ioredis] Unhandled error event: Error: connect ECONNREFUSED 127.0.0.1:6379 17:21:44.691 | at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1555:16) 17:21:45.541 | [ioredis] Unhandled error event: Error: connect ECONNREFUSED 127.0.0.1:6379 17:21:45.541 | at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1555:16) 17:21:45.541 | [ioredis] Unhandled error event: Error: connect ECONNREFUSED 127.0.0.1:6379 17:21:45.541 | at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1555:16) 17:21:45.709 | [ioredis] Unhandled error event: Error: connect ECONNREFUSED 127.0.0.1:6379 17:21:45.710 | at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1555:16) 17:21:46.639 | [ioredis] Unhandled error event: Error: connect ECONNREFUSED 127.0.0.1:6379 17:21:46.640 | at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1555:16) 17:21:46.640 | [ioredis] Unhandled error event: Error: connect ECONNREFUSED 127.0.0.1:6379 17:21:46.640 | at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1555:16) 17:21:47.447 | [ioredis] Unhandled error event: Error: connect ECONNREFUSED 127.0.0.1:6379 17:21:47.447 | at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1555:16) 17:21:48.278 | [ioredis] Unhandled error event: Error: connect ECONNREFUSED 127.0.0.1:6379 17:21:48.279 | at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1555:16) 17:21:48.333 | info - Generating static pages (0/18) 17:21:48.424 | info - Generating static pages (4/18) 17:21:48.430 | [ioredis] Unhandled error event: Error: connect ECONNREFUSED 127.0.0.1:6379 17:21:48.430 | at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1555:16)When i visit site i see only that: https://pasteboard.co/zguBROM2WABo.png
Please help me;(
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.