databag icon indicating copy to clipboard operation
databag copied to clipboard

Unclear how to login with app

Open turnercore opened this issue 1 year ago • 12 comments

I'm pretty tech savvy and it was not clear at all how to login to my server from the iOS app.

For any looking for the answer to this you login with your [email protected], with no http/https in front.

I don't know why the way to login would be [email protected] and the placeholder text says username / server, think this needs to be fixed for people to be able to use the app.

turnercore avatar Feb 19 '24 18:02 turnercore

Yes, I agree it's not clear. The login username/server.com should work, but [email protected] should also work.

Initially the system login was [email protected], but people pointed out this was confusing being the same format as email.

Support was added for '/' while '@' is deprecated. Please let me know if the '/' doesn't work. I plan on improving the messaging for the login in the next release.

Thanks for your interest in the project!

balzack avatar Feb 20 '24 04:02 balzack

I can't login using android databag app. It always say Error please try again. Whether i use [email protected] or username/server.com, it dosen't work.

jinlaohu avatar Feb 22 '24 23:02 jinlaohu

The same to me.Please fix the bugs.

cesheji3 avatar Mar 15 '24 15:03 cesheji3

Does this work for you:

Login: your_username / dns_name Password: your_password

For the demo site, the dns_name would be databag.coredb.org

If that doesn’t work, can you try with a test account on the demo site: https://databag.coredb.org

Thanks for using this project!

balzack avatar Mar 15 '24 16:03 balzack

I am trying to sign in to an instance hosted on a VPN network, not able to get username/10.0.0.100:7000 to work in the app, guess the port number throws it off? I do plan to put it behind a reverse proxy eventually, but for initial testing felt natural that this should work.

P.S.: While @ looks like an email, I think that's not a bad thing, it's already familiar structure on Mastodon, ActivityPub and SSH logins. A slash already have a different meaning when it comes to URLs.

ecker00 avatar Mar 19 '24 21:03 ecker00

The mobile app doesn't currently support IP login, you need a dns name; it should however work with the browser.

The reason IP isn't currently supported is that I disabled non-secure http from the mobile app. I think that might not be a requirement, so I plan to revisit that in the next release.

The '@' should still work in terms of logging in, but isn't displayed as the hint anymore. I agree there is also a similar conflict with '/'. Do you recommend sticking with '@', or can you think of another character?

Thanks for using this project and the feedback. I really appreciate it!

PS. I took a look at your youtube channel, I love your guys' energy, very entertaining

balzack avatar Mar 19 '24 21:03 balzack

I have tried both ways of logging in on the iPhone app and it still gives me the 'login error'. I am able to login on a web browser but not through the app. I have also tried logging on an android device and it works.

CoreyCCarter avatar Mar 22 '24 21:03 CoreyCCarter

Could you try creating a test account on https://databag.coredb.org, and seeing if the iOS app will connect there?

balzack avatar Mar 22 '24 22:03 balzack

I did a test earlier and it worked fine via the iOS app it just seems to be when I try it with my server it does not work.

CoreyCCarter avatar Mar 22 '24 22:03 CoreyCCarter

hmm, are you using a dns name & cert?

In case you are trying to use it with just an IP address (no cert), that isn't yet supported in the mobile app.

balzack avatar Mar 22 '24 22:03 balzack

I deleted the app and reinstalled it and it works perfectly now! Thank You for being so responsive and so quick!

CoreyCCarter avatar Mar 22 '24 22:03 CoreyCCarter

No worries....thanks for trying out this project!

balzack avatar Mar 22 '24 22:03 balzack