Keycloak: How to auto redirect Keycloak user to OKTA SSO page instead of clicking on button?

☆樱花仙子☆ 提交于 2020-01-01 12:36:08

问题


I have followed the guide https://ultimatesecurity.pro/post/okta-saml/ , to configure OKTA Saml with keycloak. After this configuration, I see Okta/saml login button on login page, clicking on which, the user is redirected to Okta login/SSO.

Now, is there a way to avoid clicking on this button everytime such that when the keycloak login page appears, user is auto redirected to Okta SSO automatically instead of shown keycloak login form with okta redirect button?

If not, is it possible to enter okta username password within the keycloak form fields and keycloak have it validated internally from Okta?

This requirement is because the customer is using only Okta as IDP and does not have any other like LDAP etc and clicking on a button seems overhead.


回答1:


The solution is pretty simple.

1. Go to Realm -> Configure -> Authentication

2. Go to Flows -> Browser-> Identity Provider Redirecter -> Actions -> Config

3. Enter the saml / okta identity provider name that you have created for your realm

(as you can see in my case it was saml-okta-41)



来源:https://stackoverflow.com/questions/51925423/keycloak-how-to-auto-redirect-keycloak-user-to-okta-sso-page-instead-of-clickin

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!