Document of Authelia part OPENID_CALLBACK_URL
is wrong.
#4685
Replies: 2 comments 1 reply
-
I still did not manage to get it work with the callback url set according to your suggestion.
|
Beta Was this translation helpful? Give feedback.
-
Can you show me your openid part of Btw, here is my config in librechat.yaml: # includedTools: ["google"]
# Example Registration Object Structure (optional)
registration:
# socialLogins: ['github', 'google', 'discord', 'openid', 'facebook']
socialLogins: ['openid'] and env file: # OpenID
OPENID_CLIENT_ID="{{The Username for Librechat}}"
OPENID_CLIENT_SECRET="{{The Secret for Librechat}}"
OPENID_ISSUER="Url for Authelia"
OPENID_SESSION_SECRET="{{Any random string}}"
OPENID_SCOPE="openid profile email"
OPENID_CALLBACK_URL="/oauth/openid/callback"
OPENID_REQUIRED_ROLE=
OPENID_REQUIRED_ROLE_TOKEN_KIND=
OPENID_REQUIRED_ROLE_PARAMETER_PATH=
# Set to determine which user info property returned from OpenID Provider to store as the User's username
OPENID_USERNAME_CLAIM=
# Set to determine which user info property returned from OpenID Provider to store as the User's name
OPENID_NAME_CLAIM=
OPENID_BUTTON_LABEL="Log in with Authelia"
OPENID_IMAGE_URL= That works for me. |
Beta Was this translation helpful? Give feedback.
-
What happened?
If fill the full callback URL on
OPENID_CALLBACK_URL
part, librechat will setredirect_uri
with value "app_url + OPENID_CALLBACK_URL".Therefore,
OPENID_CALLBACK_URL
should be/oauth/openid/callback
.By the way, during the process of writing the issue, I found that the content corresponding to Authetik in the document is correct.
Steps to Reproduce
(just fill the value as document tould:
OPENID_CALLBACK_URL=https://auth.example.com/api/oidc/authorization
)What browsers are you seeing the problem on?
No response
Relevant log output
No response
Screenshots
No response
Code of Conduct
Beta Was this translation helpful? Give feedback.
All reactions