-
Notifications
You must be signed in to change notification settings - Fork 104
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Entire app getting built in the Adal Iframe #121
Comments
As far as i know the iframe is there to renew the token in the background. |
The token gets renews within the iframe, and the handleWindowCallback function detects the presence of an iframe and handles the renewal. I have a workaround, but it requires a bit of work.
This seems to be working for me so far. Would be nice if there were a cleaner way to do this... |
I have another work around. Set up a reply url to an independent html page, por example https://yourapp.com/logged-in.html. the code is something like this:
Note that you need to include adal.js and logged-in.html in your assets. |
Why would my entire app be getting built inside the iframe? I a trying to track down some JavaScript issues and I can see when I am in the debugger of my app code, sometimes I am in the context of the iframe. If you look at the attached pic you can see my app is replicated in the iframe and surely that is not correct.
Here is some code from my AppComponent. I do not allow the user to get to my app unless signed in which is why I call login from the OnInit.
thoughts?
The text was updated successfully, but these errors were encountered: