-
-
Notifications
You must be signed in to change notification settings - Fork 137
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
Allow to set redirect_uri when logging-in thru GitHub (uses OST_GITHUB_CALLBACK_URL) #162
Conversation
🦋 Changeset detectedLatest commit: f3ac05c The changes in this PR will be included in the next version bump. Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
Someone is attempting to deploy a commit to a Personal Account owned by @avitorio on Vercel. @avitorio first needs to authorize it. |
Hey @spidgorny, thanks for the PR! I'll review it soon. Would this redirect users to the homepage instead of the dashboard? Can you elaborate a bit about the use case for this? Thanks! |
I have setup a GitHub OAuth authorization. I needed to enter the production |
Hi @spidgorny , thanks for the explanation. Yes, it is indeed annoying that we would need multiple OAuth Apps for different environments. Apparently GitHub Apps can have multiple callbacks but not OAuth Apps. It might be the case that your PR is not completely off. We'd need to test with GitHub Apps. The only thing I'd change is, I'd probably pick a different name for the env var, probably something more explicit like:
As we need to redirect back to Do you want to give this a shot? |
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
@spidgorny Excellent job! Thank you so much for this feature. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Add NEXT_PUBLIC_APP_URL env
Bug
fixes #number
contributing.md
Feature
fixes #number