How to use fragment and appState in RedirectLoginOptions

What I want is to redirect to the user entered url. Is this possible to get uri back If I pass that in either fragment or appState ? If so how ?

Else is there any better option available ?

Thanks for the help

Hi @hnipun,

Welcome to the Community! Have you seen this page:

Let me know if this helps!

Thanks. But I dont understand how to use that with react SDK. For ex with loginWithRedirect method. Could you please provide and example ? Thanks.