Skip to content

Commit

Permalink
Merge pull request #2948 from maxemann96/bugfix/wrong-keycloak-docs
Browse files Browse the repository at this point in the history
Fixed wrong keycloak docs
  • Loading branch information
vabene1111 authored Feb 14, 2024
2 parents 00ff13a + 250d58f commit d104283
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions docs/features/authentication.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,9 @@ At Keycloak, create a new client and assign a `Client-ID`, this client comes wit

To enable Keycloak as a sign in option, set those variables to define the social provider and specify its configuration:
```ini
SOCIAL_PROVIDERS=allauth.socialaccount.providers.keycloak
SOCIALACCOUNT_PROVIDERS='{ "keycloak": { "KEYCLOAK_URL": "https://auth.example.com/", "KEYCLOAK_REALM": "master" } }'
SOCIAL_PROVIDERS=allauth.socialaccount.providers.openid_connect
SOCIALACCOUNT_PROVIDERS='{"openid_connect":{"APPS":[{"provider_id":"keycloak","name":"Keycloak","client_id":"KEYCLOAK_CLIENT_ID","secret":"KEYCLOAK_CLIENT_SECRET","settings":{"server_url":"https://auth.example.org/realms/KEYCLOAK_REALM/.well-known/openid-configuration"}}]}}
'
```

1. Restart the service, login as superuser and open the `Admin` page.
Expand Down

0 comments on commit d104283

Please sign in to comment.