Skip to content

New OIDC Users Not Being Created on Attempt to Login by SSO #364

@ryangladden

Description

@ryangladden

I am setting up a Linshare domain to use SSO through our Authentik instance. I want new users to be created on first login, but all I get are 500 errors when I try to login.

The logs seem to come to a halt when trying to identify the domain. Logs when trying to login:

[DEBUG]:http-nio-8080-exec-4:20251021.221457:org.linagora.linshare.auth.oidc.OIdcJwtAuthenticationProvider:authenticate:Starting authentication process with OidcOpaqueAuthenticationProvider
[WARN]:http-nio-8080-exec-4:20251021.221457:org.linagora.linshare.auth.oidc.OIdcJwtAuthenticationProvider:authenticate:'issuerUri' ends with '/' character, might leads to connection issue !
[DEBUG]:http-nio-8080-exec-4:20251021.221457:org.linagora.linshare.auth.oidc.OIdcJwtAuthenticationProvider:authenticate:OIDC JWT access token seems to be good. Processing authentication...
[DEBUG]:http-nio-8080-exec-9:20251021.221829:org.linagora.linshare.core.facade.auth.impl.AuthentificationFacadeImpl:findOidcProvider:looking for domain with discriminator: [MyOrganization]

My domain User provider is configured:

Image

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