State parameter for multi tenant web app.
chandraguptab opened this issue · 1 comments
chandraguptab commented
Hi, my web app should send application-specific state parameter
such as subdomain URL where the user originated, so that my middleware can redirect the user to the correct subdomain after sign-in.
How can I send the state parameter
to https://login.microsoftonline.com/common
?
I am refering to the Microsoft doc
rayluo commented
Thanks for your patience, @chandraguptab . It was not possible back then when you created this issue. But, since version 0.4+ of this sample, you can now set your own state by adding state="my_own_state",
before this line. Cheers!