-
Notifications
You must be signed in to change notification settings - Fork 186
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Authelia 4.38.9 and OCIS 6.1.0 (any version really) - fails - "Could not get user roles" #9602
Comments
@mwinters-stuff This is interesting because for me it is not clear what your expectations are.
Authelia has currently no "roles" claim. Some people from our team tried to use the "groups" claim (@kulmann and @TheOneRing ) After creating a new role mapping config https://owncloud.dev/services/proxy/#automatic-role-assignments it starts working for the Web Client. On the desktop client, we debugged that authelia has currently no way to assign default scopes to a client. So the "groups" claim is always empty when the desktop client tries to login. That needs to be clarified with upstream authelia a) if this is possible b) or on the roadmap? Possible solutionManage the role assignment in the oCIS Admin UI. To do that, you need to set |
Ok, yes using Authelia as the user source, and using the comment from the 6.1.0 release
Then I was under the assumption that the OIDC groups would work for the roles, this appears to be limited in some manner by authelia still. I will see if the role assignment using OCIS is possible. |
Ok fantastic, I can log-in with Authelia.. thats a big change from before... Now, though I am not able to become the admin user - even though |
You do not need the idp service. the admin user can be defined with the variable you use but you need to use the uuid from the ocis user. That can be seen in the browser network tab when the webUI fetches information from graph/user |
Excellent, got it working! |
Re-Opened.
Which decoded by the browser, has the parameters
Any more ideas? Thanks. |
Hm, the owncloud client does currently always sents AFAIK the ownclient client master already has some support for evaluationg the It might be possible to add some clever rewriting rules to the traefik proxy to remove the |
Describe the bug
Authelia 4.38.9 Configured with the following:
OICS, configured via Kubernetes, using a docker container I had to create for 6.1:
deployment.yaml
config.yaml
result
Expected behavior
I expect to be able to login.
Actual behavior
I can not login.
Setup
Please describe how you started the server and provide a list of relevant environment variables or configuration files.
Additional context
I am currently using keycloak, but only having 1 service on keycloak and everything else under authelia and reading what is now available I should be able to use authelia to authenticate.
The text was updated successfully, but these errors were encountered: