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

website/integrations: mastodon: set correct uid field #11945

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

4d62
Copy link
Contributor

@4d62 4d62 commented Nov 7, 2024

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.

Details

REPLACE ME


Checklist

  • Local tests pass (ak test authentik/)
  • The code has been formatted (make lint-fix)

If an API change has been made

  • The API schema has been updated (make gen-build)

If changes to the frontend have been made

  • The code has been formatted (make web)

If applicable

  • The documentation has been updated
  • The documentation has been formatted (make website)

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 <[email protected]>
@4d62 4d62 requested a review from a team as a code owner November 7, 2024 01:45
Copy link

netlify bot commented Nov 7, 2024

Deploy Preview for authentik-storybook canceled.

Name Link
🔨 Latest commit bb660c5
🔍 Latest deploy log https://app.netlify.com/sites/authentik-storybook/deploys/672c1bc33ccf14000863702c

Copy link

netlify bot commented Nov 7, 2024

Deploy Preview for authentik-docs ready!

Name Link
🔨 Latest commit bb660c5
🔍 Latest deploy log https://app.netlify.com/sites/authentik-docs/deploys/672c1bc3e6f9170008a7c129
😎 Deploy Preview https://deploy-preview-11945--authentik-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link

codecov bot commented Nov 7, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 92.62%. Comparing base (dfb4f86) to head (bb660c5).

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #11945      +/-   ##
==========================================
+ Coverage   92.57%   92.62%   +0.05%     
==========================================
  Files         761      761              
  Lines       37813    37813              
==========================================
+ Hits        35005    35025      +20     
+ Misses       2808     2788      -20     
Flag Coverage Δ
e2e 49.16% <ø> (+0.05%) ⬆️
integration 24.91% <ø> (ø)
unit 90.15% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

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 this pull request may close these issues.

1 participant