Azure / Azure/static-web-apps

post_login_redirect_uri supports neither query string parameters nor passing of state

Open
#435 16 comments 5 reactions 0 assignees View on GitHub
AuthN/Z
Dominant language
No language data
Stars
346
Forks
67
PR merge metrics
No merged PRs in 30d

Description

- I have a React app which relies upon query string parameters to initialise state.
- Some parameters are optional, hence unsuitable for implementation as url segments
- `post_login_redirect_uri` does not pass on query string parameters
- the additional `state` parameter supported by some other Azure auth implementations appears to be unsupported in Azure Static Web Apps, and indeed isn't documented anywhere

So I guess I'm going to have to do something elaborate to save my own state to local storage or cookie before the login is performed, and recover it afterwards?

Please confirm the expected implementation pattern for this scenario.

Thanks!

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.