Can't login with username, only email address
-
@ericyu00 you should be able to login with just
username
without any @ or other handle extension. -
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.@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)?
-
@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
-
@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
@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 can confirm that for external users, they can only login with email. This seems an upstream issue.
-
G girish has marked this topic as solved on
-
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.
@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?
-
@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?
-
@ericyu00 By upstream, I mean mastodon itself. The issue is https://github.com/mastodon/mastodon/issues/6976 . It doesn't allow login via username.
@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.
-
@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.