EarthMessenger / onedrive-vercel-index

EarthMessenger's fork of https://github.com/spencerwooo/onedrive-vercel-index.git

Home Page:https://od.earthmessenger.xyz

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Need help with client id and secret

Nuub073 opened this issue · comments

Hii, i created my own client id and secret as specified by the guide, but the index refuses to sign in saying application id is not a verified publisher. I get the following error :
Sorry, but we’re having trouble signing you in.

AADSTS700016: Application with identifier '39b636cd-3b14-444e-9ea5-c0f985aeb885' was not found in the directory 'MSFT'. This can happen if the application has not been installed by the administrator of the tenant or consented to by any user in the tenant. You may have sent your authentication request to the wrong tenant.

Can you tell me how to publish whatever domain(idk what to enter there) is required and verify it. I even tried using ur client id n secret this is the output i am getting :

AADSTS7000218: The request body must contain the following parameter: 'client_assertion' or 'client_secret'.
Trace ID: 2ddfc69d-86bf-44eb-a1d2-48f6d0100a00
Correlation ID: 3ee52a84-2f79-4d82-bf45-9f8c101e82aa
Timestamp: 2023-09-09 18:24:03Z

it would be really helpful if u can guide me on how to publish n verify the publisher/domain and make this work

it worked

This project is a fork of https://github.com/spencerwooo/onedrive-vercel-index.git, it's a bit different from the upstream project and I haven't updated the README yet. If you wanna use it, you need to have your own client id and client secret, and you also need to use Vercel KV instead of Upstash (although Vercel KV seems to be based on Upstash). Sorry for the inconvenience.

This project is a fork of https://github.com/spencerwooo/onedrive-vercel-index.git, it's a bit different from the upstream project and I haven't updated the README yet. If you wanna use it, you need to have your own client id and client secret, and you also need to use Vercel KV instead of Upstash (although Vercel KV seems to be based on Upstash). Sorry for the inconvenience.

yup i figured out the vercel KV db from the logs, tbh i prefer that over upstash so thanks a lot, i was just putting secret id instead of application id, i put the correct one n it worked, thanks for this repo btw :)