Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

B7.3 Endpoint which redirects to OAuth2 provider #168

Open
Tracked by #45
joshgarde opened this issue May 30, 2023 · 0 comments
Open
Tracked by #45

B7.3 Endpoint which redirects to OAuth2 provider #168

joshgarde opened this issue May 30, 2023 · 0 comments

Comments

@joshgarde
Copy link

joshgarde commented May 30, 2023

Endpoint should utilize the load functionality from B7.1 to generate a redirect to an OAuth2 provider, appending the client id/secret parameters to the URL, to start an authorization code grant.

Eg. http://LETSMESH/authorize/discord -(302)-> https://discord.com/oauth2/authorize?response_type=code&client_id=123456&redirect_uri=http://LETSMESH/...

The endpoint should also handle appending any other necessary information (eg. scope) to the URL for the OAuth2 provider. The redirect_uri is to be set to the endpoint created in B7.3.

@joshgarde joshgarde changed the title B7.2 Create endpoint which redirects to OAuth2 provider B7.2 Endpoint which redirects to OAuth2 provider May 30, 2023
@joshgarde joshgarde changed the title B7.2 Endpoint which redirects to OAuth2 provider B7.3 Endpoint which redirects to OAuth2 provider May 30, 2023
@joshgarde joshgarde mentioned this issue May 30, 2023
9 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Todo
Development

No branches or pull requests

1 participant