I'm using AAD to request a token. I have a redirect in Azure to https://localhost:44313/index.html, however, when the login is made and it redirects, token is write on my URL, something like this:
https://localhost:44313/index.html#!#id_token=eyJ0eXAiOiJKV1QiLCJhb...
I'm using ADAL, and if I print {{userInfo}} it prints nothing, but, if I remove #! from url, it has a correct action, my url turns to: https://localhost:44313/index.html and print {{userInfo}} as it should be.
Why this is happening, what should I do to avoid token on url? Should I have some action to remove manually #! from url?
This is a Native-Application on Azure, using Angular and HTML.
Thank you all
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…