Skip to content

Remember redirect_url when logging in with a second factor #24850

Closed

Description

@ChristophWurst

While solving the 2FA challenge the redirect url is lost.

Steps to reproduce

  1. Enable a 2FA provider
  2. Go to a ownCloud page that needs login
  3. Get redirected to the login page (redirect url is encoded in the url)
  4. Solve 2FA challenge

Expected behaviour

The user should be redirected to the URL that was requested originally.

Actual behaviour

The user is redirected to the files app.

ownCloud version:
9.1.0

ref #24559

Activity

  1. added this to the milestone on May 25, 2016
  2. PVince81 commented on Jun 1, 2016

    @PVince81
    Contributor

    Yeah, was just about to raise this 😄

  3. ChristophWurst commented on Jun 1, 2016

    @ChristophWurst
    ContributorAuthor

    @PVince81 what options do we have to remember that URL apart from putting it into all URLs? The problem is that 2FA providers create/send the form with the challenge token. If they don't send the request_url param there, it will break browser-based client login :-/
    How about storing it in the session?

  4. lock commented on Aug 4, 2019

    @lock

    This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

  5. locked as resolved and limited conversation to collaborators on Aug 4, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions