-
-
Notifications
You must be signed in to change notification settings - Fork 909
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
website/integrations: mastodon: set correct uid field #11945
base: main
Are you sure you want to change the base?
Conversation
Setting the `OIDC_UID_FIELD` as `sub` created users on Mastodon with random usernames. Once this was changed to `preferred_username`, new users were created with their usernames set in authentik. My assumption is that users would wish to have the same username rather than have a random one generated. Signed-off-by: 4d62 <github-user@sdko.org>
✅ Deploy Preview for authentik-storybook ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
✅ Deploy Preview for authentik-docs ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #11945 +/- ##
==========================================
+ Coverage 92.58% 92.63% +0.05%
==========================================
Files 761 761
Lines 37822 37822
==========================================
+ Hits 35016 35038 +22
+ Misses 2806 2784 -22
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍 but there should be a warning that https://docs.goauthentik.io/docs/sys-mgmt/settings#allow-users-to-change-username should be set to false (which is the default but still) when using preferred_username as the primary identifier
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
a suggestion... instead of removing info, we can add info (by showing both).
A: goauthentik#11945 (review) B: goauthentik#11945 (comment) Signed-off-by: 4d62 <github-user@sdko.org>
Not sure if I put that at the right place |
Setting the
OIDC_UID_FIELD
assub
created users on Mastodon with random usernames. Once this was changed topreferred_username
, new users were created with their usernames set in authentik. My assumption is that users would wish to have the same username rather than have a random one generated.Details
REPLACE ME
Checklist
ak test authentik/
)make lint-fix
)If an API change has been made
make gen-build
)If changes to the frontend have been made
make web
)If applicable
make website
)