How to enable google auth in akhq config #1515
ankitknit4
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have deployed akhq helm chart and basic auth is working fine. While enabling the google auth, i am getting the error -
Chart config -
micronaut:
security:
enabled: true
oauth2:
enabled: true
clients:
google:
client-id: "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
client-secret: "yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy"
scopes:
- email
openid:
issuer: "https://akhq-ui.domain.com"
auth_url: https://accounts.google.com/o/oauth2/auth
token_url: https://accounts.google.com/o/oauth2/token
allowed_domains: company-domain.com
allow_sign_up: true
under security section -
oidc:
enabled: true
providers:
google:
label: "Login with akhq Google"
username-field: email
default-group: no-roles
# use-oidc-claim: true
users:
- username: [email protected]
groups:
- admin
- username: [email protected]
groups:
- reader
I am getting the following error -
{"message":"Internal Server Error: Error instantiating bean of type [io.micronaut.security.oauth2.client.DefaultOpenIdProviderMetadata]\n\nMessage: Read Timeout\nPath Taken: DefaultOpenIdProviderMetadata.openIdConfiguration(OauthClientConfiguration oauthClientConfiguration,OpenIdClientConfiguration openIdClientConfiguration,HttpClient issuerClient)"
Beta Was this translation helpful? Give feedback.
All reactions