-
Notifications
You must be signed in to change notification settings - Fork 30
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
Canonical usernames and linking accounts #28
Comments
My vision is that SSO can be used to sign into an existing account when the usernames differ. Furthermore, there has to be something for "Sign in with Google" to have better username support. All providers can add metadata about the user (full name, etc) |
hm, yeah. Personally I now use google as a SSO provider for my authentik instance, so it no longer affects me. There are a few options for something like this -
By "providers" do you mean OIDC providers, or Jellyfin Identity Providers? I know OIDC providers can give plenty of metadata, but I don't know much about jellyfin ID providers |
OIDC/SAML providers putting name, etc into JF. |
Here's a discussion I had about implementing user-facing views for user self-service It was good news, the task seems straightforward
|
@9p4 I think I'd like your eyes on #34 The current endpoint is probably not good enough - rigth now it just lets users manually set their canonical name for a given provider. I think instead, we need something which initiates the flow, but the callback can differentiate between linking and auth requests, and we can validate the response based on that. I kind of feel like there should be a GET endpoint that actually initiates the flow, client-side flow,
EDIT For SAML, I'm less clear on the correct way to distinguish these flows. EDIT I actually think we can implement linking endpoints that mirror the existing Just like with
Third edit (lol) Actually, for saml requests, we can use relayState to keep state & track the kind of request it is, and for OIDC, we can track whether each request is linking or not within the |
I think that the auth and linking would be ideally combined. On first login, the linking request will be created. Then, every other login would automatically work. |
That's what I wound up making, I believe |
Ah I must have misunderstood the code. I'll have to take a more careful look through. |
Either that, or an old revision, I wound up re-doing it to go from linking req to flow, without an api call that explicitly links |
From https://github.com/9p4/jellyfin-plugin-sso/projects/1#card-76230086
I believe this a release requirement, and in the long run, very important.
This issue can serve as a discussion of what this means, and how it should be implemented
The text was updated successfully, but these errors were encountered: