Skip to content
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

Ocis vs keycloak. Failed to log in due to missing email #6909

Closed
ScharfViktor opened this issue Jul 27, 2023 · 2 comments
Closed

Ocis vs keycloak. Failed to log in due to missing email #6909

ScharfViktor opened this issue Jul 27, 2023 · 2 comments
Assignees
Labels

Comments

@ScharfViktor
Copy link
Contributor

ScharfViktor commented Jul 27, 2023

start ocis using https://github.com/owncloud/ocis/blob/master/deployments/examples/ocis_keycloak

steps:

Screenshot 2023-07-27 at 14 06 23
  • add a role to the user
  • log in as new user

Actual:
image

log: ocis-ocis-1 | {"level":"error","service":"proxy","error":"Missing claim 'email'","claims":{"email_verified":false,"family_name":"test","given_name":"test","name":"test test","preferred_username":"test","sub":"61f8257f-e67b-4e56-8e8d-c019d09c3885"},"time":"2023-07-27T10:57:02.595321005Z","line":"github.com/owncloud/ocis/v2/services/proxy/pkg/user/backend/cs3.go:162","message":"Error creating user from claims"}

Expected: creating users without email is possible

cc @wkloucek

@rhafer
Copy link
Contributor

rhafer commented Aug 9, 2023

Hm, true. With PROXY_AUTOPROVISION_ACCOUNTS we still require a email claim to be set. (Technically it's not a required attribute for the libregraph User we're creating.

@rhafer
Copy link
Contributor

rhafer commented Apr 24, 2024

I am trying to fix this together with #8635

@rhafer rhafer self-assigned this Apr 24, 2024
rhafer added a commit to rhafer/ocis that referenced this issue Apr 24, 2024
The mail address is not a required attrbute for our users. So we can auto-provision users without it.

Fixes: owncloud#6909
rhafer added a commit to rhafer/ocis that referenced this issue Apr 24, 2024
The mail address is not a required attrbute for our users. So we can auto-provision users without it.

Fixes: owncloud#6909
rhafer added a commit to rhafer/ocis that referenced this issue Apr 24, 2024
The mail address is not a required attrbute for our users. So we can auto-provision users without it.

Fixes: owncloud#6909
rhafer added a commit to rhafer/ocis that referenced this issue Apr 24, 2024
The mail address is not a required attrbute for our users. So we can auto-provision users without it.

Fixes: owncloud#6909
rhafer added a commit to rhafer/ocis that referenced this issue Apr 25, 2024
The mail address is not a required attrbute for our users. So we can auto-provision users without it.

Fixes: owncloud#6909
@micbar micbar closed this as completed in 0da7ecc May 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Archived in project
Development

No branches or pull requests

2 participants