Skip to content

email confirmation flow doesn't redirect to app #5149

@roney492

Description

@roney492

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:

  1. Create an OpenID Oauth Flow for an Application
  2. Call the API that executes the flow with the client credentials, enrollment flow gets executed, which lands the user on the signup page
  3. After the signup page an email confirmation stage is executed which sends a confirmation mail to the user
  4. 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions