I want to implement OIDC authentication using Apache Atlas and Keycloak.

 Ubuntu 24.04
 Keycloak: 26.3.4
 Apache Atlas is 2.4
 Built using Docker.

I'm configuring based on the example at 
https://atlas.apache.org/#/Authentication,
but I'm unsure of the correct settings.

Could you tell me where the problem lies in the settings?
Or could you show me an example of the correct settings?

This is part of my settings.

/opt/atlas/conf/atlas-application.properties

 # Authentication config

 atlas.authentication.method.kerberos=false
 atlas.authentication.method.file=false
 atlas.authentication.method.keycloak=true

 atlas.authentication.method.keycloak.file=/opt/atlas/conf/keycloak.json

 atlas.authentication.method.keycloak.ugi-groups=false
 atlas.authentication.method.keycloak.groups_claim=groups

 atlas.rest.address=http://134.160.88.13:21000
 atlas.server.http.port=21000


/opt/atlas/conf/keycloak.json

 {
   "realm": "atlas",
   "auth-server-url": "http://134.160.88.14:8080/";,
   "ssl-required": "none",
   "resource": "atlas",
   "public-client": true,
   "principal-attribute": "preferred_username",
   "autodetect-bearer-only": true
 }


In Keycloak,
we have set
http://134.160.88.13:21000/*
and
http://134.160.88.13:21000/index.html
as Valid redirect URIs.

After setting

When you access http://134.160.88.13:21000 in your browser to open Apache Atlas,
Keycloak authentication will occur,
and you will be redirected to the following page:
http://134.160.88.14:8080/realms/atlas/protocol/openid-connect/auth?response_type=code&client_id=atlas&;
 redirect_uri=http%3A%2F%2F134.160.88.13%3A21000%2Flogin.jsp& 
state=0d2ca3e9-cb31-4602-87a3-90eb0c770458&login=true&scope=openid
You will be redirected to this URL,
but Keycloak displays:
 We're sorry...
 Page not found.

It appears a 404 Not Found response is being returned.

Please help.

Reply via email to