Ask Questions and Find Answers
Important:
Ask is now read-only. You can review any existing questions and answers, but not add anything new.
But - don't panic! While ask is no more, we've replaced it with discuss - the new Liferay Discussion Forum! Read more here here or just visit the site here:
discuss.liferay.com
RE: Unable to Login using Screenlet
We're trying to create the simplest of apps following the tutorial on the university site using Android Studio:
https://university.liferay.com/mobile-development/203967
We setup com.liferay.mobile.screens.auth.login.LoginScreenlet and include the correct instance (company) id and the site id and the login screen displays however, no matter which id we use, it will not login (we get the login failed error).
Is there something special we need to do to login?
We've even tried the admin user id and made sure they were a member of the site and still not success.
We're running this in the android emulator against a local copy of Liferay DXP.
What am we missing?
Can you paste the error that you are receiving?
If you are trying to log in using the userId, do you have your LoginScreenlet basicAuthMode property set to "userId"?
Regards
The only error is the error msg I get from the listener (on failure). Is there another way to get the exact error message?
We have it setup to use screenname. But I tried it both ways.
Hi!
What error are you getting?
Can you show us how are you configuring the project/ screenlets?
Regards
Powered by Liferay™