Skip to content

[Feature Request] Add support for OIDC authentication #926

@sbordeyne

Description

@sbordeyne

What feature should be added to Suwayomi?

  • Add support for OIDC (OpenID Connect) instead of HTTP Basic Auth.
  • OIDC servers include : Auth0, Keycloak, Authentik
  • OIDC flows work by first:
    • going to the website
    • clicking on a button/link to redirect to the OIDC server, on well defined URLs
    • The user logs in on the OIDC server
    • The OIDC server redirects the user back to the calling app, with a code
    • The app makes a token exchange HTTP query to the OIDC server, echanging the code for a long-lived refreshToken, as well as a short-lived accessToken

Why/Project's Benefit/Existing Problem

I run tachidesk on my homelab, and I want to be the sole user, along with some specified people from my family/friends. I also run keycloak on that server, which makes it an ideal solution for that use case. OIDC is a standard, so it should benefit a lot of other people, as well as to offload any authentication issues towards battle-tested solutions.

HTTP Basic Auth is a solution for now, but I cannot share the credentials to anyone, making it unsuitable to provide a backend for some close friends / family (which are not always very wise especially around computer security topics)

Running an authentication backend like keycloak allows :

  • federated single sign on
  • passwordless authentication
  • 2FA policies

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions