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. Feature Requests
  3. Authorization via temporary password (numbers) on e-mail

Authorization via temporary password (numbers) on e-mail

Scheduled Pinned Locked Moved Feature Requests
13 Posts 5 Posters 671 Views 5 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.
  • potemkin_aiP Offline
    potemkin_aiP Offline
    potemkin_ai
    wrote on last edited by
    #1

    I'm interested in functionality, that will allow user to log in via temporary password (usually - numbers) that will be delivered to the e-mail.

    That is something that services like Slack does - helps a lot, to make sure users' passwords won't make it on 3M sticks on monitor.

    Open to consider sponsoring that - please, let me know the flow for that.

    andreasduerenA 1 Reply Last reply
    1
    • M Offline
      M Offline
      msbt
      App Dev
      wrote on last edited by
      #2

      Keycloak can do that via https://github.com/p2-inc/keycloak-magic-link?tab=readme-ov-file#email-otp 😉

      1 Reply Last reply
      2
      • potemkin_aiP potemkin_ai

        I'm interested in functionality, that will allow user to log in via temporary password (usually - numbers) that will be delivered to the e-mail.

        That is something that services like Slack does - helps a lot, to make sure users' passwords won't make it on 3M sticks on monitor.

        Open to consider sponsoring that - please, let me know the flow for that.

        andreasduerenA Offline
        andreasduerenA Offline
        andreasdueren
        wrote on last edited by
        #3

        @potemkin_ai I know the average user is the enemy of cyber security but I just cringe at that idea 😐

        1 Reply Last reply
        0
        • J joseph moved this topic from Discuss on
        • potemkin_aiP Offline
          potemkin_aiP Offline
          potemkin_ai
          wrote on last edited by
          #4

          @andreasdueren , feel free not to use it / disable it, if/when it will be done!

          @msbt , can I easily replace Cloudron's auth with Keycloak, keeping all other applications running, without my intervention?

          andreasduerenA M 2 Replies Last reply
          1
          • nebulonN Offline
            nebulonN Offline
            nebulon
            Staff
            wrote on last edited by
            #5

            You can probably use the impersonate feature to set temporary passwords for users. There is no way to send this out automatically via email, but using the Cloudron REST Api, you can write some script which creates one and then sends out an email accordingly. The API also has an optional property to configure the duration until which the temporary password is valid https://docs.cloudron.io/api.html#tag/Users/operation/impersonateUser

            potemkin_aiP 1 Reply Last reply
            1
            • potemkin_aiP potemkin_ai

              @andreasdueren , feel free not to use it / disable it, if/when it will be done!

              @msbt , can I easily replace Cloudron's auth with Keycloak, keeping all other applications running, without my intervention?

              andreasduerenA Offline
              andreasduerenA Offline
              andreasdueren
              wrote on last edited by
              #6

              @potemkin_ai SSO via Keycloak won't work currently with cloudron (even though that would be a great feature). But you can set up cloudron to use an external LDAP. No 2FA this way but you could maybe get these one times codes working?

              1 Reply Last reply
              0
              • fbartelsF Offline
                fbartelsF Offline
                fbartels
                App Dev
                wrote on last edited by fbartels
                #7

                I have to say that every now and then magic links are neat and useful. Going the oidc route I think Cloudron has already done quite some steps to get rid of passwords for the login.

                But please don't make me rely on a java monster to achieve this. For the usual installation it just takes away too many resources.

                https://www.descope.com/learn/post/magic-links

                potemkin_aiP 1 Reply Last reply
                0
                • nebulonN nebulon

                  You can probably use the impersonate feature to set temporary passwords for users. There is no way to send this out automatically via email, but using the Cloudron REST Api, you can write some script which creates one and then sends out an email accordingly. The API also has an optional property to configure the duration until which the temporary password is valid https://docs.cloudron.io/api.html#tag/Users/operation/impersonateUser

                  potemkin_aiP Offline
                  potemkin_aiP Offline
                  potemkin_ai
                  wrote on last edited by
                  #8

                  @nebulon thank you! Is there any way that this could become a build-in feature of Cloudron?

                  Depending on the project cost, I consider sponsoring that.

                  nebulonN 1 Reply Last reply
                  0
                  • fbartelsF fbartels

                    I have to say that every now and then magic links are neat and useful. Going the oidc route I think Cloudron has already done quite some steps to get rid of passwords for the login.

                    But please don't make me rely on a java monster to achieve this. For the usual installation it just takes away too many resources.

                    https://www.descope.com/learn/post/magic-links

                    potemkin_aiP Offline
                    potemkin_aiP Offline
                    potemkin_ai
                    wrote on last edited by
                    #9

                    @fbartels can't agree more.

                    Another problem with KeyCloak is that the learning curve is quite steep, to say the least.

                    1 Reply Last reply
                    1
                    • potemkin_aiP potemkin_ai

                      @nebulon thank you! Is there any way that this could become a build-in feature of Cloudron?

                      Depending on the project cost, I consider sponsoring that.

                      nebulonN Offline
                      nebulonN Offline
                      nebulon
                      Staff
                      wrote on last edited by
                      #10

                      @potemkin_ai this seems way too specific to build as a generic Cloudron feature, however since all the building blocks are there already, you may find someone to build this for you if you anways consider sponsoring.

                      potemkin_aiP 1 Reply Last reply
                      0
                      • nebulonN nebulon

                        @potemkin_ai this seems way too specific to build as a generic Cloudron feature, however since all the building blocks are there already, you may find someone to build this for you if you anways consider sponsoring.

                        potemkin_aiP Offline
                        potemkin_aiP Offline
                        potemkin_ai
                        wrote on last edited by
                        #11

                        @nebulon Ok, what is required to make sure you accept it?
                        Would not like to have that as a fork.

                        1 Reply Last reply
                        0
                        • potemkin_aiP potemkin_ai

                          @andreasdueren , feel free not to use it / disable it, if/when it will be done!

                          @msbt , can I easily replace Cloudron's auth with Keycloak, keeping all other applications running, without my intervention?

                          M Offline
                          M Offline
                          msbt
                          App Dev
                          wrote on last edited by
                          #12

                          @potemkin_ai said in Authorization via temporary password (numbers) on e-mail:

                          @msbt , can I easily replace Cloudron's auth with Keycloak, keeping all other applications running, without my intervention?

                          I wasn't sure whether that was for Cloudron or some external app, since it was initially posted in "Discuss". Unsure if you could make it your primary thing for auth with Cloudron, my experience with it is rather minimal, just mentioned it because it crossed my desk the other day 😬

                          potemkin_aiP 1 Reply Last reply
                          0
                          • M msbt

                            @potemkin_ai said in Authorization via temporary password (numbers) on e-mail:

                            @msbt , can I easily replace Cloudron's auth with Keycloak, keeping all other applications running, without my intervention?

                            I wasn't sure whether that was for Cloudron or some external app, since it was initially posted in "Discuss". Unsure if you could make it your primary thing for auth with Cloudron, my experience with it is rather minimal, just mentioned it because it crossed my desk the other day 😬

                            potemkin_aiP Offline
                            potemkin_aiP Offline
                            potemkin_ai
                            wrote on last edited by
                            #13

                            @msbt got you, thanks!
                            I don't believe Cloudron's auth is easily replaceable for the build-in apps and it's unlikely that it will be replaced one day - that means a lot of testing on top of the existing infrastructure.

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