mirror of
https://github.com/JuLi0n21/osu-progress-oauth-helper.git
synced 2026-06-05 02:06:28 +00:00
926b4518184a924f8f820cd57ba434ad4588f927
Bumps [qs](https://github.com/ljharb/qs) to 6.15.2 and updates ancestor dependency [express](https://github.com/expressjs/express). These dependencies need to be updated together. Updates `qs` from 6.14.2 to 6.15.2 - [Changelog](https://github.com/ljharb/qs/blob/main/CHANGELOG.md) - [Commits](https://github.com/ljharb/qs/compare/v6.14.2...v6.15.2) Updates `express` from 4.22.1 to 4.22.2 - [Release notes](https://github.com/expressjs/express/releases) - [Changelog](https://github.com/expressjs/express/blob/v4.22.2/History.md) - [Commits](https://github.com/expressjs/express/compare/v4.22.1...v4.22.2) --- updated-dependencies: - dependency-name: qs dependency-version: 6.15.2 dependency-type: indirect - dependency-name: express dependency-version: 4.22.2 dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com>
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 /authorize: 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?
To resfresh the token request this POST: https://example.vercel.app/refresh?port=4200 body: refresh_token : {refreshtoken}
new token should be send like in 6
use at own risk, security holes might be in there
Languages
JavaScript
91.5%
HTML
8.5%