keycloak-services

Keycloak - Multi/2FA Factor - OTP - QR Code - Custom Login Screen - Rest API

孤者浪人 提交于 2021-02-19 23:34:44
问题 I have my own Login page where user enters username/password. This username/password are used to login through Keycloak Rest API. http://localhost:8080/auth/realms/Demo/protocol/openid-connect/token input - {username,password,grant_type,client_secret,client_id} And in response i get access token . Now i wish to enable Authenticator ( Google Authenticator ). I have enabled it from backend. Now if user wishes to login thorugh my application, my login page i need to get below details. 1.)

Keycloak - Multi/2FA Factor - OTP - QR Code - Custom Login Screen - Rest API

梦想与她 提交于 2021-02-19 23:21:56
问题 I have my own Login page where user enters username/password. This username/password are used to login through Keycloak Rest API. http://localhost:8080/auth/realms/Demo/protocol/openid-connect/token input - {username,password,grant_type,client_secret,client_id} And in response i get access token . Now i wish to enable Authenticator ( Google Authenticator ). I have enabled it from backend. Now if user wishes to login thorugh my application, my login page i need to get below details. 1.)

Keycloak - Multi/2FA Factor - OTP - QR Code - Custom Login Screen - Rest API

拥有回忆 提交于 2021-02-19 23:21:35
问题 I have my own Login page where user enters username/password. This username/password are used to login through Keycloak Rest API. http://localhost:8080/auth/realms/Demo/protocol/openid-connect/token input - {username,password,grant_type,client_secret,client_id} And in response i get access token . Now i wish to enable Authenticator ( Google Authenticator ). I have enabled it from backend. Now if user wishes to login thorugh my application, my login page i need to get below details. 1.)

Keycloak - Multi/2FA Factor - OTP - QR Code - Custom Login Screen - Rest API

你。 提交于 2021-02-19 23:18:56
问题 I have my own Login page where user enters username/password. This username/password are used to login through Keycloak Rest API. http://localhost:8080/auth/realms/Demo/protocol/openid-connect/token input - {username,password,grant_type,client_secret,client_id} And in response i get access token . Now i wish to enable Authenticator ( Google Authenticator ). I have enabled it from backend. Now if user wishes to login thorugh my application, my login page i need to get below details. 1.)

How to synchronize Microsoft users from Azure into the Keycloak

橙三吉。 提交于 2021-02-18 19:16:11
问题 We are trying to figure out a way to synchronize users from Azure Account into the Keycloak? Unfortunately, we could not find a documentation for it Do you know a proper way to do it ? I want to use Azure as an external DB that I can use to authenticate my users. Thank you 回答1: I want to use Azure as an external DB that I can use to authenticate my users For that you can use Keycloak's User Federation functionality: Many companies have existing user databases that hold information about users

Keycloak - Custom form action not visible in flow

喜你入骨 提交于 2021-02-08 06:07:41
问题 I am trying to implement custom form action for user registration. I have added few custom fields on the form and I wish to validate those fields. After going through the keycloak documentation, I realised that I need to Extend FormAction, FormActionFactory Package the actionfactory in META-INF/services/org.keycloak.authentication.FormActionFactory Deploy the JAR in keycloak/standalone/deployments folder. I have done all the steps and verified that the provider is getting loaded. Here is the

Keycloak - Custom form action not visible in flow

耗尽温柔 提交于 2021-02-08 06:05:58
问题 I am trying to implement custom form action for user registration. I have added few custom fields on the form and I wish to validate those fields. After going through the keycloak documentation, I realised that I need to Extend FormAction, FormActionFactory Package the actionfactory in META-INF/services/org.keycloak.authentication.FormActionFactory Deploy the JAR in keycloak/standalone/deployments folder. I have done all the steps and verified that the provider is getting loaded. Here is the

Keycloak invalid_token Didn't find publicKey for specified kid

不羁的心 提交于 2021-02-08 03:42:26
问题 I am using keycloak to secure my rest service and I am able to get the token , but when I am using this token for to get my rest service response, getting following error: HTTP/1.1 401 Unauthorized Cache-Control: no-cache, no-store, must-revalidate, private X-Powered-By: Undertow/1 X-XSS-Protection: 1; mode=block Server: WildFly/11 X-Frame-Options: SAMEORIGIN Date: Wed, 30 Jan 2019 07:42:45 GMT Connection: keep-alive WWW-Authenticate: Bearer realm="demorealm", error="invalid_token", error

how to check authenticate keycloak instance A user from another keycloak instance B?

喜夏-厌秋 提交于 2021-02-04 19:53:04
问题 we setup a testing environment for keycloak. The environment run on GCP. It have two keycloak instances: Instance A acts as a test login keycloak, named test-login-1 Instance B acts as a test external identity provider, named test-login-2 We need to use the instance A to connect the instance B. So instance A user can able to login via instance B. Is there any way to do this? How can We implement this logic? 回答1: You need to configure the test-login-2 as an identity provider for the test-login

Keycloak script mapper option missing in 9.0.3

故事扮演 提交于 2021-01-29 16:40:08
问题 I am running version keycloak-9.0.3 and dont have script mapper. I tried adding profile.properties but it did not bring this option under the drop down in mapper type. 回答1: In Keycloak Server Developer Guide, Ability to upload scripts through the admin console is deprecated and will be removed in a future version of Keycloak ... For more details about how to enable the upload_scripts feature. Please, take a look at the Profiles. So you can see "Script Mapper" option under the drop down if you