<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
0D54z00009WmNuCCAVOkta Classic EngineAuthenticationAnswered2023-08-13T07:48:08.000Z2023-08-10T11:45:41.000Z2023-08-13T07:48:08.000Z

DevOpsD.46339 (Customer) asked a question.

Customizing the okta widget google IDP button and behaviour

in order to enable the google login in the widget, all i have to do in the client is pass the following to the config:

```

idps: [{ type: 'GOOGLE', id: googleIDPId }],

```

This will show the default white button and clicking it will redirect to a hosted page. also, if you have previously logged in with google, it will auto select the logged in user and you cant login with another google email(if you want).

 

i want to:

have a different style to the button with :

```

theme: 'filled_blue',

size: 'large',

text: 'signup_with',

logo_alignment: 'left',

shape: 'pill',

```

and to have explicit consent to select the logged in user

`prompt: 'consent',`

and if possible to open the google popup instead of redirecting to another page.

 

 

I cant figure out how to pass the above configuration to the okta widget. not in client side and not in okta admin dashboard.

Help will be appreciated !


xcii8 likes this.
This question is closed.
Loading
Customizing the okta widget google IDP button and behaviour