Unable to add Authentik as Registered Provider for OIDC, 403 Error

Hello, I’ve got authentik and nextcloud setup on my unraid machine, I’ve followed the instructions a few times and cannot for the life of me get the two connected, I had no issue connecting authentik to immich, however trying to add authentik to nextcloud is providing me with the following error:

ClientException
Client error: `GET https://auth.example.com/application/o/nextcloud/.well-known/openid-configuration` resulted in a `403 Forbidden` response: <!DOCTYPE html><html lang="en-US"><head><title>Just a moment...</title><meta http-equiv="Content-Type" content="text/htm (truncated...)
Discovery endpoint validation error`

Any help would be appreciated!

sounds you NC is not allowed to access “openid-configuration” of authentik

I found out the issue, the Cloudflare option of giving managed challenges to definitely automated bots was blocking it for some reason, so I’ve disabled that setting and it works fully now

1 Like

This topic was automatically closed 8 days after the last reply. New replies are no longer allowed.