dependabot[bot] 64ce77254f Bump serve-static and express
Bumps [serve-static](https://github.com/expressjs/serve-static) to 1.16.2 and updates ancestor dependency [express](https://github.com/expressjs/express). These dependencies need to be updated together.


Updates `serve-static` from 1.15.0 to 1.16.2
- [Release notes](https://github.com/expressjs/serve-static/releases)
- [Changelog](https://github.com/expressjs/serve-static/blob/v1.16.2/HISTORY.md)
- [Commits](https://github.com/expressjs/serve-static/compare/v1.15.0...v1.16.2)

Updates `express` from 4.19.2 to 4.21.0
- [Release notes](https://github.com/expressjs/express/releases)
- [Changelog](https://github.com/expressjs/express/blob/4.21.0/History.md)
- [Commits](https://github.com/expressjs/express/compare/4.19.2...4.21.0)

---
updated-dependencies:
- dependency-name: serve-static
  dependency-type: indirect
- dependency-name: express
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-17 10:36:02 +00:00
2024-01-10 03:30:47 +01:00
2024-01-10 01:35:12 +01:00
2024-09-17 10:36:02 +00:00
2024-01-11 14:20:55 +01:00
2024-01-14 05:34:58 +01:00
2024-01-10 02:12:02 +01:00

Osu Oauth Middleware Server hosted on Vercel

Route access token back to end user without them needing own Api credentials!

How to use:

  1. Fork Repo
  2. Deploy on Vercel
  3. Create Api Client use the Vercel Domain as Callback
  4. 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
  1. Add link to the vercel domain with port as state to /authorize: https://example.vercel.app/authorize?port=4200

  2. recieive anser at: https://localhost:4200/{CALLBACK_URL}?access_token={access_token}&refresh_token={refresh_token}&expires_in={expires_in}

  3. 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

Description
No description provided
Readme MIT 128 KiB
Languages
JavaScript 91.5%
HTML 8.5%