Skip to content

Keycloak

You can connect your Keycloak-instance as an Auth Provider for Seatsurfing.

1. Configure your Keycloak-instance

  1. Log in to your instance' administration console.
  2. Goto Clients and click Create.
  3. Choose a Client-ID, select openid-connect and enter as Root URL the complete URL of your Seatsurfing installation and click Save.
  4. Now Change Access Type to confidential.
  5. Click Save, in the navigationbar "Keys" will appear.
  6. At "Keys" you can copy the secret for the next step.

2. Configure Seatsurfing

  1. Log in to Seatsurfing's Administrator UI.
  2. Navigate to Settings and add a new Auth Provider.
  3. Select the Keycloak template.
  4. Paste the Client ID you have choosen in keycloak into the "Client ID" field.
  5. Paste the Secret Value into the "Client Secret" field.
  6. Change all keycloakhost.sample to your hostname and optional master to your realm.
  7. Save the Auth Provider.
  8. Copy the Callback URL which is displayed right after saving.

3. Finish Keycloak Configuration

  1. Head back to the Client you've created in the Keycloak admin-console in Step 1.
  2. Change Valid Redirect URIs from https://...../* to /auth/xxxxxc/callback