<iframe src="https://www.googletagmanager.com/ns.html?id=GTM-M74D8PB" height="0" width="0" style="display:none;visibility:hidden">
Loading
Skip to NavigationSkip to Main Content
0D51Y00009BKzb1SADOkta Classic EngineAdministrationAnswered2024-04-15T13:20:29.000Z2020-08-13T15:39:39.000Z2020-08-13T16:28:32.000Z

nklyo (nklyo) asked a question.

Using Okta Sign In Widget and Microsoft Link Button

I have configured the sign-in widget to display the Microsoft link sign button but when the button is clicked a pop-up happens. I don't want the pop-up I want it to stay on the same page.


  • User15851122134349081871 (North Central-Enterprise)

    Have you looked at the authParams.display option? It defaults to popup but can be changed to page. See this: https://github.com/okta/okta-signin-widget

     

    From that github link:

     

    authParams.display: Specify how to display the authentication UI for External Identity Providers. Defaults to popup

    • popup: Opens a popup to the authorization server when an External Identity Provider button is clicked. responseMode will be set to okta_post_message and cannot be overridden.
    • page: Redirect to the authorization server when an External Identity Provider button is clicked.

     

    // Redirects to authorization server when the IDP button is clicked, and

    // returns an access_token in the url hash (Implicit flow)

    authParams: {

    display: 'page',

    responseType: 'token',

    pkce: false

    }

     

    Expand Post
This question is closed.
Loading
Using Okta Sign In Widget and Microsoft Link Button