Skip to content

Custom OIDC / SSO Provider #38

Description

@remadisson

Summary

Add support for generic OIDC / SSO providers through a custom or oidc option.

Problem

pgconsole currently supports only a limited set of OIDC providers, making it impossible to use self-hosted alternatives such as Authentik or VoidAuth.

This is particularly limiting for homelabs, small teams, and personal projects where self-hosted identity providers are commonly used for access control.

Proposed Solution

Add a generic OIDC provider that accepts an issuer URL and automatically uses OIDC discovery:

[[auth.providers]]
type = "oidc"
issuer_url = "https://auth.example.com"
client_id = "pgconsole"
client_secret = "..."

This would allow pgconsole to work with any standards-compliant OIDC provider without requiring a dedicated integration for each provider.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions