Skip to content

Add possibility to use async requests on choose password #5418

Closed

Description

@vince1995

Is your feature request related to a problem? Please describe.
Because JavaScript must be available in choose_password the form which redirects to another page seems needless.

Describe the solution you'd like
To uphold backwards compatibility add a simple flag shouldNotRedirect to the body of the POST request and just respond with the status code 200 instead of 302.

Describe alternatives you've considered
I'm using a custom page and proxying the request to keep a SPA instead of getting an unneeded redirect (which causes a full refresh of my website).

Activity

  1. dplewis commented on Mar 14, 2019

    @dplewis
    Member

    @vince1995 A PR #5332 was submitted. Would something like this help?

  2. vince1995 commented on Mar 18, 2019

    @vince1995
    ContributorAuthor

    Oh wow, yeah, that's exactly what I imagined. Sorry, searched in issues for that feature but not in PRs. You can close.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions