have implemented Azure SSO using open ID connect, I am redirecting a user to the homepage of my portal once he is logged in using an office account.
The problem is since the redirect URL(localhost:443/abc/test.aspx) is a constant that we have to put, I could not figure out how to retain a URL where a user was before login (e.g. localhost:443/abc/test.aspx#/item/30176). After SSO login it redirect me to only localhost:443/abc/test.aspx, I want to land to localhost:443/abc/test.aspx#/item/30176 (30176 is variable item id)
If state is the only way to go. I could not find how to use it. Any references of implementation would really be helpful