-
Notifications
You must be signed in to change notification settings - Fork 210
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
Change callback path #486
Comments
If I may ask, why do you want to setup a different path for the callback in the first place? From what I understood when you query your endpoint,
Source: https://hapi.dev/module/bell#usage. As per your question, I don't think you can change to a different redirect path. |
For example, for the login endpoint I will expect some query parameters that I would like to validate and on callback endpoint I will not validate those parameters. And I don't like the idea of starting a login process and ending it (callback process) done on the same endpoint. I am using bell with "custom strategy", so I like that bell provides functionalities but if it is possible to change the callback route that would be nice.
|
For the checks on your query parameter, depending on the checks you want to make you could validate them directly in your route configuration through As of now, I'm not sure you can separate your callback URL to the starting point URL. |
? As of now, I'm not sure you can separate your callback URL to the starting point URL. I did it by setting the
|
Support plan
Context
How can we help?
Is it possible to redirect back to different path then when login started. Example starting from =>/login and callback => /login/callback ?
The text was updated successfully, but these errors were encountered: