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. Mastodon
  3. Can't login with username, only email address

Can't login with username, only email address

Scheduled Pinned Locked Moved Solved Mastodon
16 Posts 4 Posters 750 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.
  • nebulonN Offline
    nebulonN Offline
    nebulon
    Staff
    wrote on last edited by
    #5

    Which user management setting have you chosen during the app installation?
    You have to use the Cloudron user management to automatically make mastodon pick up the Cloudron users.

    E 1 Reply Last reply
    0
    • nebulonN nebulon

      Which user management setting have you chosen during the app installation?
      You have to use the Cloudron user management to automatically make mastodon pick up the Cloudron users.

      E Offline
      E Offline
      ericyu00
      wrote on last edited by
      #6

      @nebulon Under Access Control/User management it states "This app is configured to authenticate with the Cloudron User Directory. This setting controls who can log in and use the app." and set for "Allow all users from this Cloudron" - so perhaps I've chosen the wrong option on install (if I want to allow any users to sign up w/o registering in Cloudron)?

      1 Reply Last reply
      0
      • girishG girish

        Have you installed it with or without Cloudron user management ?

        E Offline
        E Offline
        ericyu00
        wrote on last edited by
        #7

        @girish To your question, I believe it was installed with Cloudron user management.

        nebulonN 1 Reply Last reply
        0
        • E ericyu00

          @girish To your question, I believe it was installed with Cloudron user management.

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

          @ericyu00 indeed, if you want to add users within the app itself, then you have to reinstall the instance without Cloudron usermangement. If you just want to make an existing Cloudron user an admin within mastodon, then follow the step from https://docs.cloudron.io/apps/mastodon/#admin

          jdaviescoatesJ 1 Reply Last reply
          0
          • nebulonN nebulon

            @ericyu00 indeed, if you want to add users within the app itself, then you have to reinstall the instance without Cloudron usermangement. If you just want to make an existing Cloudron user an admin within mastodon, then follow the step from https://docs.cloudron.io/apps/mastodon/#admin

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

            @nebulon said in Can't login with username, only email address:

            if you want to add users within the app itself, then you have to reinstall the instance without Cloudron usermangement

            In my experience at present non-Cloudron users can register just fine with Cloudron user management enabled, they just can't reset their pw https://forum.cloudron.io/post/55988

            I use Cloudron with Gandi & Hetzner

            1 Reply Last reply
            0
            • girishG Offline
              girishG Offline
              girish
              Staff
              wrote on last edited by
              #10

              I can confirm that for external users, they can only login with email. This seems an upstream issue.

              E 1 Reply Last reply
              1
              • girishG girish

                I can confirm that for external users, they can only login with email. This seems an upstream issue.

                E Offline
                E Offline
                ericyu00
                wrote on last edited by
                #11

                @girish Hmm OK, well I'm rebuilding the app for external app user management vs. Cloudron so that may be the way to go for the type of use case I'm looking for... Thanks.

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

                  External registration is incompatible with LDAP it seems. See https://forum.cloudron.io/topic/7978/when-using-cloudron-user-management-non-cloudron-users-cannot-reset-password/20 for more information.

                  E 1 Reply Last reply
                  0
                  • girishG girish has marked this topic as solved on
                  • girishG girish

                    External registration is incompatible with LDAP it seems. See https://forum.cloudron.io/topic/7978/when-using-cloudron-user-management-non-cloudron-users-cannot-reset-password/20 for more information.

                    E Offline
                    E Offline
                    ericyu00
                    wrote on last edited by
                    #13

                    @girish Oh, I guess I wasn't getting your original point that "for external users, they can only login with email" and that being an "upstream issue" which I assume you mean the packaging configuration? Because yes, I've re-installed the app with the "Leave user management to the app" option selected, but yes those users can only log in via email address (which isn't optimal for a more public server setup). Any way to manually tweak a config to allow for username-based login?

                    girishG 1 Reply Last reply
                    0
                    • E ericyu00

                      @girish Oh, I guess I wasn't getting your original point that "for external users, they can only login with email" and that being an "upstream issue" which I assume you mean the packaging configuration? Because yes, I've re-installed the app with the "Leave user management to the app" option selected, but yes those users can only log in via email address (which isn't optimal for a more public server setup). Any way to manually tweak a config to allow for username-based login?

                      girishG Offline
                      girishG Offline
                      girish
                      Staff
                      wrote on last edited by
                      #14

                      @ericyu00 By upstream, I mean mastodon itself. The issue is https://github.com/mastodon/mastodon/issues/6976 . It doesn't allow login via username.

                      E 1 Reply Last reply
                      0
                      • girishG girish

                        @ericyu00 By upstream, I mean mastodon itself. The issue is https://github.com/mastodon/mastodon/issues/6976 . It doesn't allow login via username.

                        E Offline
                        E Offline
                        ericyu00
                        wrote on last edited by
                        #15

                        @girish Ohhh hmmm, I thought for sure I was able to log into other Mastodon instances using username only, but I must have been mistaken and/or confused with the original Cloudron install setup I had. Preferred this way if this is standard/OOB Mastodon user auth setup, so thanks again.

                        girishG 1 Reply Last reply
                        0
                        • E ericyu00

                          @girish Ohhh hmmm, I thought for sure I was able to log into other Mastodon instances using username only, but I must have been mistaken and/or confused with the original Cloudron install setup I had. Preferred this way if this is standard/OOB Mastodon user auth setup, so thanks again.

                          girishG Offline
                          girishG Offline
                          girish
                          Staff
                          wrote on last edited by
                          #16

                          @ericyu00 yeah, it does username login only for LDAP and that also depends on how LDAP is setup. That is this bug report - https://github.com/mastodon/mastodon/issues/11362

                          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