Custom Identity Provider is not working

Hi,

I’m trying to setup Cloudflare Access with an own Identity Provider to protect a small bunch of pages.
In generally, my provider is working. I can use it at other websites for authentication.
When I trying to open a protected page, I will be redirected to my authentication portal. There I will accept the authorization request and being redirected to the appropiate authentication site ( https://xxx.cloudflareaccess.com/cdn-cgi/access/callback). There I getting the following error:
Failed to fetch user/group information from the identity provider

Can anyone provide me which information is probably missing to get this working?

Kind regards

It’s been a few hours and no response. Is it one of the providers listed on this page?

No, it’s a own implementation of a generic identity provider (https://developers.cloudflare.com/access/configuring-identity-providers/generic-oidc/)

I’ve not seen anybody else do this. Have you opened a Support ticket?

To contact Cloudflare Customer Support, login & go to https://dash.cloudflare.com/?account=support and select get more help. If you receive an automatic response that does not help you, please reply and indicate you need more help.