Skip to content

Please reconsider redirect behaviour #501

@gr1mpatr0n

Description

@gr1mpatr0n

Checklist

  • I have looked into the Readme, Examples, and FAQ and have not found a suitable solution or answer.
  • I have looked into the API documentation and have not found a suitable solution or answer.
  • I have searched the issues and have not found a suitable solution or answer.
  • I have searched the Auth0 Community forums and have not found a suitable solution or answer.
  • I agree to the terms within the Auth0 Code of Conduct.

Describe the problem you'd like to have solved

I'm aware the FAQs highlight that if you'd like to redirect anywhere other than / after the callback is handled, you need to provide it in appState.target.

My question is why? If I specify a redirect URI in the Auth0 client instance for my Vue app, it's because I want the client redirected there, typically because there are supplementary login flow tasks that need to be completed after first login or similar.

There are also several issues raised in this repository with bad router behaviour, such as history rewriting and depending on vue-router in the first place, which isn't exactly obvious or applicable for many Vue apps.

I see no value in redirecting automatically. Leave that to the developer.

Describe the ideal solution

Don't try to redirect automatically.

Alternatives and current workarounds

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature requestA feature has been asked for or suggested by the community

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions