Skip to content

OIDC and DISALLOW_LOGIN_FORM not working correctly #953

@TheItsNameless

Description

@TheItsNameless

Hello there!

I have been using kutt for a few months now and wanted to activate SSO using Authelia. However, after setting up all environment variables correctly (as I believe) I see that some are not working correctly.

This is my .env:

JWT_SECRET=...
PORT=3002
SITE_NAME=...
DEFAULT_DOMAIN=...
DISALLOW_REGISTRATION=true
DISALLOW_LOGIN_FORM=true                     # <- HERE
DISALLOW_ANONYMOUS_LINKS=true
DB_FILENAME=/var/lib/kutt/data.sqlite
OIDC_ENABLED=true                            # <- HERE
OIDC_ISSUER=...
OIDC_CLIENT_ID=urlshortener
OIDC_CLIENT_SECRET=...

I have disabled the login form and activated OIDC. But when starting kutt it shows me the login form and no OIDC button. In the logs, there is no error. It seems as though these options do nothing.

Am I missing something?

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