-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Description
Describe the bug
After clicking on email confirmation the enrollment flow doesn't redirect the user to the consent page of the app he asked to access of when pressing signup
To Reproduce
Steps to reproduce the behavior:
- Create an OpenID Oauth Flow for an Application
- Call the API that executes the flow with the client credentials, enrollment flow gets executed, which lands the user on the signup page
- After the signup page an email confirmation stage is executed which sends a confirmation mail to the user
- On Clicking the Confirm button the user gets redirected back to the login page.
Expected behavior
The user should have gotten redirected to the App consent page which he initially asked access of when signing up.
Logs
email confirm button has the below URL linked to it:
https://atk.domain.com/if/flow/enrollment/?flow_token=ye13Jk5lK7zm7WTDrnYdAtMk4SyB4k7vtTPW5stkHAxcWh6oqnMxBXKai13v
The page where the enollment "Send email again" is at
next=/application/o/authorize/?response_type=code&client_id=8a354394065fe3f08cea3ca8104b4623b65fae89&scope=&redirect_uri=http://localhost:8100/api/test&state=572a2004-7918-49de-8458-58af41c86b83
If I ammend this to the email confirmation URL, it works perfectly.
Version and Deployment (please complete the following information):
- authentik version: 2023.3
- Deployment: Docker-compose