angularjs - Auth0 - login widget does not display enterprise connections -
i created auth0 app using starter template - hybrid mobile app > ionic > asp.net web api
i've followed documentation create enterprise connection orgs idp (okta in case) , i've tested connection. login widget however, not show option connect :
i can't seem find documentation on how add more connections widget. looking @ code, project appears using auth0 angular don't see there either. know bootstrapped code importing lock library - don't see lock methods called anywhere i'm not sure if it's using auth0 lock widget.
any here appreciated!
to use enterprise connections lock, need associate them 1 or more email domains. example, if you're using saml connection:
if type @example.com
email address in lock, prompt log in connection directly.
if don't want use feature , want have button log in directly, you can add dynamically list of connections. example:
widget.once('signin ready', function() { var link = $('<a class="a0-zocial a0-sharepoint" href="#"><span>login okta</span></a>'); link.appendto('.a0-iconlist'); link.on('click', function() { widget.getclient().login({connection: 'your-okta-connection-name'}); }); });
Comments
Post a Comment