Skip to content

Native SSO for Audiobookshelf#1567

Open
matalvernaz wants to merge 1 commit into
TortugaPower:developfrom
matalvernaz:feat/abs-oidc-login
Open

Native SSO for Audiobookshelf#1567
matalvernaz wants to merge 1 commit into
TortugaPower:developfrom
matalvernaz:feat/abs-oidc-login

Conversation

@matalvernaz

Copy link
Copy Markdown
Contributor

Adds a sign in with SSO button on the ABS credentials screen, for servers with an OIDC provider set up. Runs the provider through ASWebAuthenticationSession, swaps the callback for an ABS token, and continues on the normal connection path. Password sign-in is unchanged.

One thing for the docs: ABS needs both local and openid auth enabled if people still want password sign-in to work alongside.

Heads up, this overlaps a little with #1566 in the shared connection view and protocol. Whichever lands second I'll rebase.

Adds a Sign in with SSO option on the ABS credentials screen. The flow
runs the server's OpenID Connect provider through
ASWebAuthenticationSession, exchanges the callback code for an ABS
token, and lands on the same connection path as password sign-in.

The button only shows when the view model opts in via oidcSupported on
the connection view model protocol; Jellyfin is untouched.
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