Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Issue: Stack-auth and Localization Redirection Conflict #239

@diogoparente

Description

@diogoparente

Hey everyone 👋

I’m using stack-auth successfully in my non-localized app, and the localized version works fine without stack-auth. However, after merging both, I’m encountering an issue: after signing in, I’m redirected back to /handler/sign-in instead of the afterSignInUrl I’ve defined.

Is there any documentation or guidance on handling this scenario? I checked the middleware examples, but they didn’t seem to resolve the issue.

I'm looking to be redirected to the specified afterSignIn but localised.

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions