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

Local account for OIDC user duplicated on new login in dev environment #1502

Open
mikkonie opened this issue Oct 10, 2024 · 0 comments
Open
Assignees
Labels
app: projectroles Issue in the projectroles app bug Something isn't working environment Issues of dependencies, CI, deployment etc. ongoing Ongoing issue, needs observation or pending on other projects

Comments

@mikkonie
Copy link
Collaborator

I locally ran into a problem where logging in on a previously-logged-in OIDC user on my dev system, their local user account is duplicated, with the username altered by adding some sort of hash behind it.

That is, [email protected] becomes something like [email protected]. The old user remains on the site.

After deleting both the user accounts and logging back in multiple times, both inside and outside private windows, I was not able to replicate the issue.

My hunch: this has something to do with me logging in earlier to my SODAR dev instance under the same local URL. Maybe we get confused by existing cookies on the same address?

If my hunch is correct, this would only affect dev environments where OIDC auth is tested on both SODAR and SODAR Core instances. However, I would still like to get rid of it if possible. I will need to monitor how this behaves.

@mikkonie mikkonie added bug Something isn't working environment Issues of dependencies, CI, deployment etc. ongoing Ongoing issue, needs observation or pending on other projects app: projectroles Issue in the projectroles app labels Oct 10, 2024
@mikkonie mikkonie self-assigned this Oct 10, 2024
@mikkonie mikkonie changed the title Local account for OIDC user duplicated on new login Local account for OIDC user duplicated on new login in dev environment Oct 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
app: projectroles Issue in the projectroles app bug Something isn't working environment Issues of dependencies, CI, deployment etc. ongoing Ongoing issue, needs observation or pending on other projects
Projects
None yet
Development

No branches or pull requests

1 participant