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
  • 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 | Demo | Docs | Install
  1. Cloudron Forum
  2. Nextcloud
  3. [💡 Guide] External Nextcloud with OpenID / Social Login - Calendar CalDav synchronization

[💡 Guide] External Nextcloud with OpenID / Social Login - Calendar CalDav synchronization

Scheduled Pinned Locked Moved Nextcloud
6 Posts 3 Posters 630 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.
  • BrutalBirdieB Offline
    BrutalBirdieB Offline
    BrutalBirdie
    Partner
    wrote on last edited by
    #1

    TL;DR

    💡 Create an app password in Nextcloud and use that.

    Below is a more in detail explanation of the problem and the solution.


    Requirements

    You have:

    • an external Nextcloud with the social login app using Cloudron OpenID
      • (How to setup an external Nextcloud with Cloudron OpenID login)
    • within that Nextcloud the calendar app
    • an urge to use the calendar in your favorite Client e.g. Thunderbird, mobile phone google calendar

    The predicament explained.

    Since CalDav needs authentication (username and password) you would use that. Easy.
    But now, since we login with Cloudron via. OpenID the User in Nextcloud has no "password" and can also not be set.

    So what to do?

    Get into your Nextcloud and copy your internal calendar url:
    Step 1 - click your calendar
    d42c4a87-5527-4097-8c12-4cc0ed5489d8-image.png
    Step 2 - share your calendar / view the calendar sharing information
    d1129d57-c09d-49a5-9014-9fab7141c198-image.png
    Step 3 - Copy the internal link
    07cfdd4d-78d1-44d7-b360-d7578632024c-image.png

    Link should look something like this: https://YOUR.DOMAIN.TLD/remote.php/dav/calendars/my.DOMAIN.tld-USER.NAME/hackradt/ please note that hackradt is the name of the calendar.

    Save this into a notepad, you will need it later.


    Get credentials for your User.
    Like above explained our User has no password, but we can set an App password!
    Step 1 - click your user profile icon (top right)
    972a661a-aa6c-4162-9c6c-6647bed91606-image.png
    Step 2 - click "personal settings" (in the dropdown menu)
    2c762c71-a16e-4a19-af3d-cae8d5c736d8-image.png
    Step 3- click "security" (left side)
    2f243a5f-4a4f-4d63-8a0b-2e62261980da-image.png

    In the bottom of that page you got "Devices & sessions".
    Enter a new app name, I choose "SyncMyDav"
    e13faab9-1d12-4e68-8192-62f277d41717-image.png
    Click "Create new app password"
    Note down the Username and Password and be 100% sure to click Done - if you forget the Done part it will not work!

    Now you can use these credentials and the URL to configure your Thunderbird or DAVx⁵ for your Android phone.

    Finally you can use your external Nextcloud with your Cloudron login, with en extra app password for your calendar.

    Like my work? Consider donating a drink. Cheers!

    necrevistonnezrN 1 Reply Last reply
    8
    • BrutalBirdieB BrutalBirdie referenced this topic on
    • jdaviescoatesJ Offline
      jdaviescoatesJ Offline
      jdaviescoates
      wrote on last edited by
      #2

      https://Ko-fi.com/home/coffeeshop?txid=bd745900-824b-4c1a-95cc-bb71ebe96334&mode=public&img=ogiboughtsomeone 🙂

      I use Cloudron with Gandi & Hetzner

      BrutalBirdieB 1 Reply Last reply
      2
      • jdaviescoatesJ jdaviescoates

        https://Ko-fi.com/home/coffeeshop?txid=bd745900-824b-4c1a-95cc-bb71ebe96334&mode=public&img=ogiboughtsomeone 🙂

        BrutalBirdieB Offline
        BrutalBirdieB Offline
        BrutalBirdie
        Partner
        wrote on last edited by
        #3

        @jdaviescoates Thank you ❤

        Like my work? Consider donating a drink. Cheers!

        1 Reply Last reply
        2
        • BrutalBirdieB BrutalBirdie

          TL;DR

          💡 Create an app password in Nextcloud and use that.

          Below is a more in detail explanation of the problem and the solution.


          Requirements

          You have:

          • an external Nextcloud with the social login app using Cloudron OpenID
            • (How to setup an external Nextcloud with Cloudron OpenID login)
          • within that Nextcloud the calendar app
          • an urge to use the calendar in your favorite Client e.g. Thunderbird, mobile phone google calendar

          The predicament explained.

          Since CalDav needs authentication (username and password) you would use that. Easy.
          But now, since we login with Cloudron via. OpenID the User in Nextcloud has no "password" and can also not be set.

          So what to do?

          Get into your Nextcloud and copy your internal calendar url:
          Step 1 - click your calendar
          d42c4a87-5527-4097-8c12-4cc0ed5489d8-image.png
          Step 2 - share your calendar / view the calendar sharing information
          d1129d57-c09d-49a5-9014-9fab7141c198-image.png
          Step 3 - Copy the internal link
          07cfdd4d-78d1-44d7-b360-d7578632024c-image.png

          Link should look something like this: https://YOUR.DOMAIN.TLD/remote.php/dav/calendars/my.DOMAIN.tld-USER.NAME/hackradt/ please note that hackradt is the name of the calendar.

          Save this into a notepad, you will need it later.


          Get credentials for your User.
          Like above explained our User has no password, but we can set an App password!
          Step 1 - click your user profile icon (top right)
          972a661a-aa6c-4162-9c6c-6647bed91606-image.png
          Step 2 - click "personal settings" (in the dropdown menu)
          2c762c71-a16e-4a19-af3d-cae8d5c736d8-image.png
          Step 3- click "security" (left side)
          2f243a5f-4a4f-4d63-8a0b-2e62261980da-image.png

          In the bottom of that page you got "Devices & sessions".
          Enter a new app name, I choose "SyncMyDav"
          e13faab9-1d12-4e68-8192-62f277d41717-image.png
          Click "Create new app password"
          Note down the Username and Password and be 100% sure to click Done - if you forget the Done part it will not work!

          Now you can use these credentials and the URL to configure your Thunderbird or DAVx⁵ for your Android phone.

          Finally you can use your external Nextcloud with your Cloudron login, with en extra app password for your calendar.

          necrevistonnezrN Offline
          necrevistonnezrN Offline
          necrevistonnezr
          wrote on last edited by
          #4

          @BrutalBirdie Maybe something for https://docs.cloudron.io/guides/community/

          1 Reply Last reply
          1
          • BrutalBirdieB Offline
            BrutalBirdieB Offline
            BrutalBirdie
            Partner
            wrote on last edited by
            #5

            Yes I will add it 🙂

            Like my work? Consider donating a drink. Cheers!

            1 Reply Last reply
            3
            • BrutalBirdieB Offline
              BrutalBirdieB Offline
              BrutalBirdie
              Partner
              wrote on last edited by
              #6

              https://git.cloudron.io/docs/docs/-/merge_requests/73

              Like my work? Consider donating a drink. Cheers!

              1 Reply Last reply
              2
              • avatar1024A avatar1024 referenced this topic on
              • avatar1024A avatar1024 referenced this topic on
              • jdaviescoatesJ jdaviescoates referenced this topic on
              • B bazinga referenced this topic on
              • BrutalBirdieB BrutalBirdie referenced this topic on
              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