unable to get oauth enabled with azure ad , #1172
-
Hello , i am trying to enable oauth on akhq using azure ad in the latest version of akhq, i have followed the link https://akhq.io/docs/configuration/authentifications/oidc.html and made changes in the values.yaml files , but i am not even able to get the login page of azure ad , i can still see the tool is running without any authentication , it just lists all the kafka topics without asking for any login,
|
Beta Was this translation helpful? Give feedback.
Replies: 6 comments 1 reply
-
|
Beta Was this translation helpful? Give feedback.
-
i did not have any basic-auth enabled , so please could you let me know how do i first disable the UI without any login |
Beta Was this translation helpful? Give feedback.
-
@tchiotludo , please could you provide some hints based on the shared configuration if i am missing something , |
Beta Was this translation helpful? Give feedback.
-
secrets:
micronaut:
security:
enabled: true
oauth2:
enabled: true
clients:
oauth:
client-id: xxxx
client-secret: xxxx
scopes:
- email
- openid
- groups
- profile
openid:
issuer: xxxx
security:
oidc:
enabled: true
providers:
azuread:
label: "Login with Azure AD"
username-field: email
use-oidc-claim: true
akhq:
connections:
kafka-cluster:
properties:
bootstrap.servers: "kafka-service:9092"
security:
default-group: no-roles # disabled the ui without login
oidc:
enabled: true
providers:
azuread: # enable oidc in akhq
label: "Login with Azure AD"
username-field: email
use-oidc-claim: true
groups-field: roles
default-group: topic-reader Mistake :
See : |
Beta Was this translation helpful? Give feedback.
-
thankyou @tchiotludo , UI is now disable without login , i can see a login button "login with azure ad", but nothing happens when i click the button ,
|
Beta Was this translation helpful? Give feedback.
-
Maybe you can share your chrome devtools screenshot please ? On the console and network tabs ? To see if there is an error on the JavaScript side ? |
Beta Was this translation helpful? Give feedback.
@hari819