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

feat(OAuth): Add frontend redirect URI and handle exceptions #20

Merged
merged 1 commit into from
Sep 16, 2024

Conversation

dvjsharma
Copy link
Owner

Description

This PR adds redirect URI and handles some exception.

How to test

  • Add the FRONTEND_REDIRECT_URL value in the .env file. The server will redirect to this URL with an access token in the query param.
  • Get the authorization_url with redirect URL as {domain}/api/v1/live/google-oauth2/callback/.
  • Navigate to this URL and sign in using your google account.
  • You will be redirected to the forntend URL along with an access token for that user in the query param.

Signed by Divij Sharma

@dvjsharma dvjsharma merged commit 07455b1 into master Sep 16, 2024
2 checks passed
@dvjsharma dvjsharma deleted the feat/oauth-2 branch September 16, 2024 12:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant