Is there any way to integrate authentication flow with a SPA (no page reloads)? I've managed to create some simple wrapper which opens authentication window:
But this only works when user clicks the button. I can't find any way to implement "silent" token refresh, as opening sign-in page in background is blocked as a pop-up.
It's also not possible to embed the sign-in page in the IFRAME because of X-Frames DENY policy.
Is there any other call/endpoint that can be used to obtain new token?
Is there any way to integrate authentication flow with a SPA (no page reloads)? I've managed to create some simple wrapper which opens authentication window:
But this only works when user clicks the button. I can't find any way to implement "silent" token refresh, as opening sign-in page in background is blocked as a pop-up.
It's also not possible to embed the sign-in page in the IFRAME because of X-Frames DENY policy.
Is there any other call/endpoint that can be used to obtain new token?