You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Question
I'm trying to login using a popup version of authorize and investigating how the 'urlHandler' can be used. My issue is that I am in an iframe. This is causing me to require the popup version.
During the investigation, I am trying to use the urlHandler. However it appears the popup doesnt support the urlHandler. If i use regular authorize 'urlHandler' is called:
this.oidcSecurityService.authorize(this.user.SSO.configName, { urlHandler: async (url) => { alert('url: ' + url); }, });
The above code will show the alert.
this.oidcSecurityService .authorizeWithPopUp( { urlHandler: async (url) => { alert('url: ' + url); }, }, {}, this.user.SSO.configName, ) .subscribe(({ isAuthenticated, userData, accessToken, errorMessage }) => { });
This code does not get executed.
Is the urlHandler only available for non-popup?
Thank you
-Sam
The text was updated successfully, but these errors were encountered:
What Version of the library are you using?
14
Question
I'm trying to login using a popup version of authorize and investigating how the 'urlHandler' can be used. My issue is that I am in an iframe. This is causing me to require the popup version.
During the investigation, I am trying to use the urlHandler. However it appears the popup doesnt support the urlHandler. If i use regular authorize 'urlHandler' is called:
this.oidcSecurityService.authorize(this.user.SSO.configName, { urlHandler: async (url) => { alert('url: ' + url); }, });
The above code will show the alert.
this.oidcSecurityService .authorizeWithPopUp( { urlHandler: async (url) => { alert('url: ' + url); }, }, {}, this.user.SSO.configName, ) .subscribe(({ isAuthenticated, userData, accessToken, errorMessage }) => { });
This code does not get executed.
Is the urlHandler only available for non-popup?
Thank you
-Sam
The text was updated successfully, but these errors were encountered: