Skip to content

Error when trying allowed_idps #56

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
amour86 opened this issue May 19, 2025 · 4 comments
Closed

Error when trying allowed_idps #56

amour86 opened this issue May 19, 2025 · 4 comments

Comments

@amour86
Copy link

amour86 commented May 19, 2025

Error when trying allowed_idps

{'result': None, 'success': False, 'errors': [{'code': 12130, 'message': "access.api.error.invalid_request: invalid 'include' configuration", 'error_chain': [{'message': "unknown rule type: 'identity_provider'"}]}], 'messages': []}

@ChrispyBacon-dev
Copy link
Owner

Hi armour

Do you have an IdP setup? I have google as IdP setup and can add it as authentication. Do you have maybe a different IdP setup?

Cheers

@amour86
Copy link
Author

amour86 commented May 23, 2025

I have OIDC setup on my cloudflare and working fine, If I add the ID in allowed_idps, it throws this error in dockflare logs.

@myakove
Copy link

myakove commented May 24, 2025

same here

@myakove
Copy link

myakove commented May 24, 2025

I managed to get it work.

cloudflare.tunnel.7.access.name: "Test"
      cloudflare.tunnel.7.access.allowed_idps: "IDP ID"
      cloudflare.tunnel.7.access.auto_redirect_to_identity: "true"
      cloudflare.tunnel.7.access.custom_rules: >
        [{"name":"email allow access","decision":"allow",
          "include":[{"email":{"email":"[email protected]"}}]},
        {"name":"Deny All Other Access","decision":"deny","include":[{"everyone":{}}]}]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants