Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Problems Using Authentik for OIDC #259

@chrislea

Description

@chrislea

Hello. I'm trying to get SSO working with Authentik as an OIDC provider. The config I have saves correctly:

{
    "providers": [{
        "id": "authentik",
        "label": "Login with Authentik",
        "provider": "oidc-discovery",
        "params": {
            "clientId": "SECRET",
            "clientSecret": "REALLYLONGSECRET",
            "authorizeUrl": "https://id.myhomelab/application/o/authorize/",
            "tokenUrl": "https://id.myhomelab/application/o/token/",
            "callbackUrl": "https://yaade.myhomelab/callback-authentik",
            "site": "https://id.myhomelab/application/o/yaade/",
            "fields": {
                "username": "preferred_username",
                "email": "email",
                "groups": "groups",
                "defaultGroups": ["users"]
            },
            "scopes": ["openid", "email", "profile"]
        }
    }]
}

However, when I try to log in, I get sent to a JSON dump on a page with the following error at the bottom:

code: 500,
message: "The provided pointer is not a valid JSON Pointer",
suppressed: [ ],
localizedMessage: "The provided pointer is not a valid JSON Pointer"

The container logs have a big Java error dump that starts with java.lang.IllegalArgumentException: The provided pointer is not a valid JSON Pointer, which I'm happy to post if it's helpful but I'm not sure it is.

Any pointers would be appreciated, I'm not sure where else to look for logs / docs / anything that would point me in the right direction.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions