-
Type: Bug
-
Status: Resolved
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 2023.0
-
Fix Version/s: 2023.10
-
Component/s: Authentication
-
Release Notes Summary:Nuxeo now supports Keycloak 24.0.x
-
Tags:
-
Backlog priority:800
-
Upgrade notes:
-
Sprint:nxplatform #109
-
Story Points:5
Steps to reproduce
- start keycloak as follows:
docker run --name test-keycloak23.0.4 -d -p 8086:8080 -e KEYCLOAK_ADMIN=admin -e KEYCLOAK_ADMIN_PASSWORD=admin quay.io/keycloak/keycloak:23.0.4 start-dev
- import the attached realmĀ nuxeo-realm.json
- Start nuxeo 2023.7.9 with the respective nuxeo-keycloak, use the following configuration:
nuxeo.keycloak.realm=nuxeorealm nuxeo.keycloak.resource=nuxeo nuxeo.keycloak.sslRequired=none nuxeo.keycloak.publicClient=false nuxeo.keycloak.confidentialPort=0 nuxeo.keycloak.authServerUrl=http://localhost:8086 nuxeo.keycloak.credentials.secret=eGEPEQNIH5AYUn5DflXoPMaNj4v1lotl
- login as test/test
- Nuxeo reports error:
[org.keycloak.adapters.OAuthRequestAuthenticator] {"error":"invalid_grant","error_description":"Incorrect redirect_uri"}
Expected behavior: everything runs smoothly after logging in