37
Views
1
Comments
[Okta SSO with OpenID Connect] Please help with how to use the Okta hosted sign-in.
okta-sso-with-openid-connect
Web icon
Forge asset by Kevin VanderWulp
Application Type
Traditional Web

I have followed the Demo and been successful using the self-hosted sign-in widget, but would like to use the Okta sign-in dialog instead.

The documentation indicates I should...

 "use the LoginURL action to construct the URL for the sign-in page and then redirect the user there instead of the hosted sign-in page inside of this demo or your appication."

...however I do not see a "LoginURL" action.  I do see a "GetLoginUrl" action, but I do not understand where I need to call this action from?  Also, this action doesn't include a ClientSecret parameter which I would think would be needed?

Any help would be appreciated.

Thanks,

Dan

2019-07-30 00-42-44
Kevin VanderWulp

Yes, you should use the GetLoginUrl action.

In my application, I set up a "Sign In" button somewhere on a landing page where I want to initiate the login process from and call GetLoginUrl when the user clicks the button and then use an ExternalUrl action to navigate the user to the url generated by the action which should bring them to the Okta sign in page for your Okta tenant.

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.