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

chore(backend): add github oauth redirection #219

Merged
merged 5 commits into from
Nov 20, 2023
Merged

Conversation

detj
Copy link
Contributor

@detj detj commented Nov 20, 2023

  • github signin now redirects to /:teamId/overview instead of /dashboard/overview
  • google signin now redirects to /:teamId/overview instead of /dashboard/overview
  • email signin now redirects to /:teamId/overview instead of /dashboard/overview
  • implemented more robust error handling for all 3 authentication flows
  • update the /teams api to authorize the access token and send real teams data
  • add a /auth/callback/github route

- github signing now redirects to `/:teamId/overview` instead of `/dashboard/overview`
- update the `/teams` api to authorize the access token and send real teams data
- add a `/auth/callback/github` route
@detj detj self-assigned this Nov 20, 2023
Copy link

vercel bot commented Nov 20, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
measure ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 20, 2023 11:57am

detj added 3 commits November 20, 2023 16:47
- redirect to `/:teamId/overview` after google oauth signin
- handle all errors
- improve error message for google oauth redirection
- redirect to `/:teamId/overview` after email signin
- handle all errors
@detj detj merged commit 06dbd0e into main Nov 20, 2023
7 checks passed
@detj detj deleted the auth-redirection-fix branch November 20, 2023 12:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants