Angular 8 + Spring Boot 2.2: Build a CRUD App Today!

Mihail Dimitriu

Hi,
I had abilitate my custom domain and now I’m able to modify the htlm Sing In Page at

Customization → Singin page

I found these code to add the social login in the script section

<script type=“text/javascript”>
// “config” object contains default widget configuration
// with any custom overrides defined in your admin settings.
var config = {{{config}}};

// social login
config.idps = [
{ type: ‘FacebookLogin’, id: ‘0oadrrh812O9sbaxxxxx’ }
];
config.idpDisplay = ‘PRIMARY’;

// Render the Okta Sign-In Widget
var oktaSignIn = new OktaSignIn(config);
oktaSignIn.renderEl({ el: ‘#okta-login-container’ },
OktaUtil.completeLogin,
function(error) {
// Logs errors that occur when configuring the widget.
// Remove or replace this with your own custom error handler.
console.log(error.message, error);
}
);
</script>

by: https://devforum.okta.com/t…

I changed it with my provider name and id

Now how can see that it works? I when I visit https://dev-xxxxxx.customdo… I see a default widget page without facebook button

And how can I integrate it in the spring-angular project?

Thanks in advance