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

Can't find user folder because OpenID token is changing #3

Closed
vincentbitter opened this issue Dec 5, 2019 · 2 comments
Closed

Can't find user folder because OpenID token is changing #3

vincentbitter opened this issue Dec 5, 2019 · 2 comments

Comments

@vincentbitter
Copy link
Contributor

Every time the docker container is restarted, users do receive a new token from the OpenID provider. Since this token is set as 'auth/subject' and therefore used as foldername, it is not possible to list the previously created profiles for a user.

Not sure how to fix it yet, but I would suggest setting the username or email instead of idToken.Subject as 'auth/subject':

session.Put(r.Context(), "auth/subject", idToken.Subject)

@Place1
Copy link
Owner

Place1 commented Mar 8, 2020

@vincentbitter i've re-implemented the auth integrations. This is probably fixed now, give 0.0.9 another go. Checkout the README for config file changes.

@Place1 Place1 closed this as completed Mar 8, 2020
@Place1
Copy link
Owner

Place1 commented Mar 8, 2020

please reopen if there is still a problem :)

DasSkelett referenced this issue in DasSkelett/wg-access-server Oct 1, 2021
Updated: workflows & Dockerfile
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants