react-oidc-context icon indicating copy to clipboard operation
react-oidc-context copied to clipboard

How to get custom "state" which can be used by a caller to have "data" round tripped

Open jaikathuria opened this issue 1 year ago • 1 comments

If the user is not logged in there is some meta that I want to persist when the user lands back on the application post login.

oidc-client-ts supports this by taking state_data in SigninRequestArgs

Not able to figure out any way on how to achieve this with react-oidc-context

jaikathuria avatar Mar 10 '24 18:03 jaikathuria

Can you explain why this is not working?

  • You have access to signinRedirect and user object

pamapa avatar Mar 13 '24 15:03 pamapa