You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is similar to #35, but I make use of Netlify's preview deployments which can be accessed via several different endpoints. I don't actually know which endpoint a user has hit until the request is in flight. I'd like to be able to customize the callback url of the OAuth strategy based on the contents of the request (in this specific case I'm using Auth0). I can submit a pull request if desired.
The text was updated successfully, but these errors were encountered:
gregbty
changed the title
Support customizing callback url dynamically
Support customizing OAuth strategy callback url dynamically
Nov 24, 2021
Hi @gregbty! We are using vercel for deploy previews and we check for the environment variable VERCEL_URL to mount the callback URL. I believe it is possible to do the same on Netlify using the env var DEPLOY_URL.
This is similar to #35, but I make use of Netlify's preview deployments which can be accessed via several different endpoints. I don't actually know which endpoint a user has hit until the request is in flight. I'd like to be able to customize the callback url of the OAuth strategy based on the contents of the request (in this specific case I'm using Auth0). I can submit a pull request if desired.
The text was updated successfully, but these errors were encountered: