keycloak-scim/examples/providers/authenticator
2018-09-26 20:58:41 +02:00
..
src/main KEYCLOAK-6308 Disable secret question credentials fails 2018-07-31 12:15:48 +02:00
pom.xml Set version to 4.6.0.Final-SNAPSHOT 2018-09-26 20:58:41 +02:00
README.md authenticator example updated 2016-09-23 16:50:08 -04:00
secret-question-config.ftl refactor auth-spi, auth demo, and docs 2015-08-14 14:38:59 -04:00
secret-question.ftl auth spi refactor and doco 2015-08-13 11:28:11 -04:00

Example Custom Authenticator

  1. First, Keycloak must be running.

  2. Execute the follow. This will build the example and deploy it

    $ mvn clean install wildfly:deploy

  3. Copy the secret-question.ftl and secret-question-config.ftl files to the themes/base/login directory.

  4. Login to admin console. Hit browser refresh if you are already logged in so that the new providers show up.

  5. Go to the Authentication menu item and go to the Flow tab, you will be able to view the currently defined flows. You cannot modify an built in flows, so, to add the Authenticator you have to copy an existing flow or create your own. Copy the "Browser" flow.

  6. In your copy, click the "Actions" menu item and "Add Execution". Pick Secret Question

  7. Next you have to register the required action that you created. Click on the Required Actions tab in the Authenticaiton menu. Click on the Register button and choose your new Required Action. Your new required action should now be displayed and enabled in the required actions list.