Changing usernames of OIDC users does not work #1564
Labels
No Label
dependencies
duplicate
help wanted
invalid
kind/bug
kind/feature
needs reproduction
question
security
wontfix
No Milestone
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: vikunja/vikunja#1564
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
I'm trying rename a user(change it's username and subject in SQL-Table-Users), this user is login though OIDC. I can rename it. But when this user login again, the username will recover.
I try to delete the 'DEL xorm:sql:users:1590036933'(all'xorm:sql:users*') in redis, but when login again, these item will also recover.
The cache should not make a difference here. Does it work if you disable the cache?
Did you change the username in Vikunja or in the OIDC service?
Why do you want to change the username in the first place?
Delete Cacheto Changing usernames of OIDC users does not workYes, when I disable cache. It worked as my exception.
Yes, I changed the usename in the OIDC. then I try to change this usename in Vikunja, too.
this is a long story....
Did you get a randomly generated username or did Vikunja pick up the username from the oidc provider? The provider should report the username as "preferred username" in order for this to work.
I'm not 100% sure but iirc it will only set the username when logging in for the first time.
Usernames in Vikunja are considered unique and not changeable.