mirror of
https://github.com/JuLi0n21/osu-progress-oauth-helper.git
synced 2026-04-19 16:00:06 +00:00
892 B
892 B
Osu Oauth Middleware Server hosted on Vercel
Route access token back to end user without them needing own Api credentials!
How to use:
- Fork Repo
- Deploy on Vercel
- Create Api Client use the Vercel Domain as Callback
- add Envoirment variables
- SCOPE: scopes
- CALLBACK_URL: localy hosted endpoint to where the access_token should be send to
- URL: vercel Domain
- PORT: Vercel server Port / default is 9000
- CLIENT_ID: client_id
- CLIENT_SECRET: client_secret
-
Add link to the vercel domain with port as state to /authoritze: https://example.vercel.app/authorize?port=4200
-
recieive anser at: https://localhost:4200/{CALLBACK_URL}?access_token={access_token}&refresh_token={refresh_token}&expires_in={expires_in}
-
profit?