Wrong redirect after oAuth success

Why would Immic try to load /api/oauth/callback after an oAuth? That URL does not exist at all.

{
    "message": "Failed to finish oauth",
    "error": "Internal Server Error",
    "statusCode": 500,
    "correlationId": "p0n02pvf"
}

{"message":"Cannot GET /api/oauth/callback","error":"Not Found","statusCode":404,"correlationId":"cufthogg"}

Referrer is the domain on which immich runs, oAuth correctly logs in, no problem with that, but somehow immmich loads that weird url, then says :could not complete oauth: even if everything went well with oAuth (well, except that it did not log in, due to the bad url redirect)

Using authentik as per the docs, everything setup properly according the documentation, this happens on desktop computers, mobile I did not try.
Was this page helpful?