Skip to content

How to force https for redirect_url parameter with OIDC #1960

@DonDebonair

Description

@DonDebonair

I'm trying to setup OIDC with Authelia for Technitium DNS. When I try to login with OpenID Connect, Technitium gives the following error: Error! Failed to reach SSO provider. Please contact your administrator.

The Authelia logs show the following:

Pushed Authorization Request failed with error: The request is missing a required parameter, includes an invalid parameter value, includes a parameter more than once, or is otherwise malformed. The 'redirect_uri' parameter does not match any of the OAuth 2.0 Client's pre-registered 'redirect_uris'. The 'redirect_uris' registered with OAuth 2.0 Client with id 'technitium-dns' did not match 'redirect_uri' value 'http://dns.mydomain.com/sso/callback'

In Authelia the OIDC client has https://dns.mydomain.com/sso/callback as redirect url.

Both Technitium DNS and Authelia are behind a reverse proxy that providers HTTPS, but Technitium DNS is still using http for the redirect_url parameter. How can I fix this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions