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. Calibre Web
  3. Explore OAuth?

Explore OAuth?

Scheduled Pinned Locked Moved Calibre Web
11 Posts 5 Posters 1.8k Views 6 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.
  • jdaviescoatesJ jdaviescoates

    LDAP has never worked, so let's remove it completely?

    And perhaps explore getting OIDC to work with OAuth?

    Context:
    I was reading the latest https://selfh.st/ newsletter (which is excellent, recommended) and came across the Calibre Web Companion app.

    The only way I could get it to work was to edit the Basic Configuration settings at /admin/config and in the Feature Configuration change these Login type setting from Use LDAP Authentication to Use Standard Authentication and then it worked great! (but I presume it'll break again as soon as the app restarts and goes back to LDAP)

    But whilst changing that setting I spotted there is also a Use OAuth option - and I couldn't help wonder if unlike LDAP that might actually work with Cloudron?

    jdaviescoatesJ Offline
    jdaviescoatesJ Offline
    jdaviescoates
    wrote on last edited by
    #2

    @jdaviescoates said in Remove LDAP (and explore OAuth?):

    LDAP has never worked, so let's remove it completely?

    Oh it's already been removed!

    @nebulon said in LDAP error when first logging in as admin (and LDAP doesn't seem to work):

    We have removed LDAP, so will close this thread for now.

    And hence

    @jdaviescoates said in Remove LDAP (and explore OAuth?):

    (but I presume it'll break again as soon as the app restarts and goes back to LDAP)

    That wasn't true. I restarted the app and my setting there stayed the same. Happy days!

    Still might be worth exploring the OAuth authentication? Could that be made to work with Cloudron OIDC?

    I use Cloudron with Gandi & Hetzner

    1 Reply Last reply
    2
    • girishG Offline
      girishG Offline
      girish
      Staff
      wrote on last edited by
      #3

      We gave up on LDAP integration because of https://github.com/janeczku/calibre-web/issues/2652

      As for OIDC, I think upstream author doesn't want it. See https://github.com/janeczku/calibre-web/issues/2965 and https://github.com/janeczku/calibre-web/pull/2211

      jdaviescoatesJ 1 Reply Last reply
      0
      • girishG girish

        We gave up on LDAP integration because of https://github.com/janeczku/calibre-web/issues/2652

        As for OIDC, I think upstream author doesn't want it. See https://github.com/janeczku/calibre-web/issues/2965 and https://github.com/janeczku/calibre-web/pull/2211

        jdaviescoatesJ Offline
        jdaviescoatesJ Offline
        jdaviescoates
        wrote on last edited by jdaviescoates
        #4

        @girish said in Explore OAuth?:

        As for OIDC, I think upstream author doesn't want it. See https://github.com/janeczku/calibre-web/issues/2965 and https://github.com/janeczku/calibre-web/pull/2211

        😞 😢

        Although at this point the developer seemed potentially open to it https://github.com/janeczku/calibre-web/pull/2211#issuecomment-1133842946

        I use Cloudron with Gandi & Hetzner

        1 Reply Last reply
        0
        • osoboO Offline
          osoboO Offline
          osobo
          wrote on last edited by
          #5

          Sorry if my question is already answered but are we talking about this OIDC setting ? I would need to automatically login Cloudron's registered users like I do with NextCloud and Moodle. Is it possible with Calibre and if yes how to proceed ? Thanks for your support !

          image.png

          1 Reply Last reply
          0
          • J Offline
            J Offline
            joseph
            Staff
            wrote on last edited by
            #6

            @osobo where is that screenshot from? Calibre web? Reading upstream github, I cannot find any reference that it is implemented .

            osoboO 1 Reply Last reply
            0
            • J joseph

              @osobo where is that screenshot from? Calibre web? Reading upstream github, I cannot find any reference that it is implemented .

              osoboO Offline
              osoboO Offline
              osobo
              wrote on last edited by
              #7

              @joseph Yes, it's an option within Calibre-Web setting page. There is the choice between standard authentification, LDAP and OIDC.

              jdaviescoatesJ 1 Reply Last reply
              0
              • osoboO osobo

                @joseph Yes, it's an option within Calibre-Web setting page. There is the choice between standard authentification, LDAP and OIDC.

                jdaviescoatesJ Offline
                jdaviescoatesJ Offline
                jdaviescoates
                wrote on last edited by jdaviescoates
                #8

                @osobo said in Explore OAuth?:

                There is the choice between standard authentification, LDAP and OIDC.

                As your screenshot shows, it doesn't have any mention of OIDC it says OAuth.

                There are no OIDC settings in Calibre Web.

                It's confusing because OIDC is built on top of OAuth 2.0, but OAuth ≠ OIDC.

                OAuth is about granting access to resources, whereas OIDC adds a standard way to verify and retrieve the user's identity using ID tokens. So while Calibre Web supports OAuth for things like logging in via Google, that doesn't mean it supports OpenID Connect or Cloudron’s SSO, which requires OIDC support.

                b8c29792-f277-4f67-bb0c-dead08b3f9e0-image.png

                @joseph this is in /admin/config under Feature Configuration.

                I use Cloudron with Gandi & Hetzner

                osoboO 1 Reply Last reply
                1
                • jdaviescoatesJ jdaviescoates

                  @osobo said in Explore OAuth?:

                  There is the choice between standard authentification, LDAP and OIDC.

                  As your screenshot shows, it doesn't have any mention of OIDC it says OAuth.

                  There are no OIDC settings in Calibre Web.

                  It's confusing because OIDC is built on top of OAuth 2.0, but OAuth ≠ OIDC.

                  OAuth is about granting access to resources, whereas OIDC adds a standard way to verify and retrieve the user's identity using ID tokens. So while Calibre Web supports OAuth for things like logging in via Google, that doesn't mean it supports OpenID Connect or Cloudron’s SSO, which requires OIDC support.

                  b8c29792-f277-4f67-bb0c-dead08b3f9e0-image.png

                  @joseph this is in /admin/config under Feature Configuration.

                  osoboO Offline
                  osoboO Offline
                  osobo
                  wrote on last edited by
                  #9

                  @jdaviescoates thank you for the clarification. Indeed they’re not the same thing.

                  1 Reply Last reply
                  1
                  • RoundHouse1924R Offline
                    RoundHouse1924R Offline
                    RoundHouse1924
                    wrote last edited by RoundHouse1924
                    #10

                    Looks like Calibre-Web-Automated has OIDC. Shall I open a topic on the App Wishlist?

                    https://github.com/crocodilestick/Calibre-Web-Automated

                    jdaviescoatesJ 1 Reply Last reply
                    1
                    • RoundHouse1924R RoundHouse1924

                      Looks like Calibre-Web-Automated has OIDC. Shall I open a topic on the App Wishlist?

                      https://github.com/crocodilestick/Calibre-Web-Automated

                      jdaviescoatesJ Offline
                      jdaviescoatesJ Offline
                      jdaviescoates
                      wrote last edited by
                      #11

                      @RoundHouse1924 said in Explore OAuth?:

                      Looks like Calibre-Web-Automated has OIDC. Shall I open a topic on the App Wishlist?

                      https://github.com/crocodilestick/Calibre-Web-Automated

                      💯

                      I use Cloudron with Gandi & Hetzner

                      1 Reply Last reply
                      1
                      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