Skip to content

Redirect to another route is not happening #221

@pbollaram

Description

@pbollaram

Hi,

Followed same as mentioned in example but i need to redirect my app to different route on successful sign in.
So as mentioned in documentation i am doing this below
const login = async () => {
oktaAuth.signInWithRedirect({ originalUri: '/dashboard' });
};

but my dashboard component is not loaded. I see that the URL on the browser is getting changed but react component is not loaded. Maybe the router is not detecting the change from oktaAuth

I have the following route specified in my app.

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