Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps - Status | Demo | Docs | Install
  1. Cloudron Forum
  2. Support
  3. How To Integrate OpenID Cloudron with Cloudflare Access?

How To Integrate OpenID Cloudron with Cloudflare Access?

Scheduled Pinned Locked Moved Solved Support
oidccloudflare
6 Posts 4 Posters 315 Views 4 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • I Offline
    I Offline
    IniBudi
    translator
    wrote on last edited by joseph
    #1

    I’m trying to add OpenID in Cloudflare Access, and the information required includes the Auth URL and Token URL.

    However, I couldn’t find any documentation regarding the Certificate URL.

    1ad9caca-4a6b-48b8-a5d4-cd5d61d0f3f5-image.png

    I tried entering the details and testing the setup, but it didn’t work. Does anyone know how to fix this?

    Has anyone successfully integrated Cloudron with Cloudflare Gateway before?

    d6acbb45-5b96-4b13-a633-8f274eb17ace-image.png

    Any help would be greatly appreciated. Thank you!

    1 Reply Last reply
    1
    • J Online
      J Online
      joseph
      Staff
      wrote on last edited by
      #2

      @inibudi Certificate URL is the jwks/keys URL. See https://docs.cloudron.io/user-directory/#endpoints

      I 1 Reply Last reply
      0
      • J joseph

        @inibudi Certificate URL is the jwks/keys URL. See https://docs.cloudron.io/user-directory/#endpoints

        I Offline
        I Offline
        IniBudi
        translator
        wrote on last edited by
        #3

        @joseph Yes, I am trying to follow the documentation but its still error

        1 Reply Last reply
        0
        • girishG Do not disturb
          girishG Do not disturb
          girish
          Staff
          wrote on last edited by girish
          #4

          @inibudi there is a bug in Cloudflare Access that it does not understand OKP keys. I have added a workaround for this. Should be fixed in the next update. There is now a cloudflare special Keys URL (it's in the docs) . With that , Cloudflare Access works.

          cc @tronical

          I andreasduerenA 2 Replies Last reply
          3
          • girishG girish has marked this topic as solved on
          • girishG girish

            @inibudi there is a bug in Cloudflare Access that it does not understand OKP keys. I have added a workaround for this. Should be fixed in the next update. There is now a cloudflare special Keys URL (it's in the docs) . With that , Cloudflare Access works.

            cc @tronical

            I Offline
            I Offline
            IniBudi
            translator
            wrote on last edited by
            #5

            @girish Thank you, girish for the update!

            1 Reply Last reply
            0
            • J joseph referenced this topic on
            • girishG girish

              @inibudi there is a bug in Cloudflare Access that it does not understand OKP keys. I have added a workaround for this. Should be fixed in the next update. There is now a cloudflare special Keys URL (it's in the docs) . With that , Cloudflare Access works.

              cc @tronical

              andreasduerenA Offline
              andreasduerenA Offline
              andreasdueren
              App Dev
              wrote last edited by andreasdueren
              #6

              @girish Unfortunately setting https://my.cloudron.example/openid/jwks_rsaonly isn't working either and testing auth returns:

              Failed to get your identity
              Looks like something went wrong. Here are the details.
              Failed to verify oidc token with fresh keys
              undefined
              

              PKCE is disabled, Email claim is set to email and OIDC Scopes are set to openid,email and profile.

              I can see the login attempt as authenticated in the logs for some reason though.

              Edit: https://my.cloudron.example/openid/jwks_rsaonly for my cloudron returns only {"keys":[]}. Was there a regression? I'm running 9.1.3. The regular jwks endpoint is returning proper values..

              1 Reply Last reply
              0

              Hello! It looks like you're interested in this conversation, but you don't have an account yet.

              Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

              With your input, this post could be even better 💗

              Register Login
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              • Login

              • Don't have an account? Register

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • Bookmarks
              • Search