<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <title>SignUpScreenlet</title>
  <link rel="self" href="https://liferay.dev/de/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=118306755" />
  <subtitle>SignUpScreenlet</subtitle>
  <id>https://liferay.dev/de/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=118306755</id>
  <updated>2026-06-06T16:27:06Z</updated>
  <dc:date>2026-06-06T16:27:06Z</dc:date>
  <entry>
    <title>RE: SignUpScreenlet</title>
    <link rel="alternate" href="https://liferay.dev/de/c/message_boards/find_message?p_l_id=119785294&amp;messageId=118312216" />
    <author>
      <name>ildar sl</name>
    </author>
    <id>https://liferay.dev/de/c/message_boards/find_message?p_l_id=119785294&amp;messageId=118312216</id>
    <updated>2020-01-21T17:51:46Z</updated>
    <published>2020-01-21T17:51:46Z</published>
    <summary type="html">Thanks</summary>
    <dc:creator>ildar sl</dc:creator>
    <dc:date>2020-01-21T17:51:46Z</dc:date>
  </entry>
  <entry>
    <title>RE: SignUpScreenlet</title>
    <link rel="alternate" href="https://liferay.dev/de/c/message_boards/find_message?p_l_id=119785294&amp;messageId=118304163" />
    <author>
      <name>Javier Gamarra</name>
    </author>
    <id>https://liferay.dev/de/c/message_boards/find_message?p_l_id=119785294&amp;messageId=118304163</id>
    <updated>2020-01-20T23:55:15Z</updated>
    <published>2020-01-20T23:55:15Z</published>
    <summary type="html">By default Liferay needs an authenticated user to do that request. You can create a user with only those permissions and use it as a token access or disable the security (that question would go in the general category, won&amp;#39;t be of help there).</summary>
    <dc:creator>Javier Gamarra</dc:creator>
    <dc:date>2020-01-20T23:55:15Z</dc:date>
  </entry>
  <entry>
    <title>SignUpScreenlet</title>
    <link rel="alternate" href="https://liferay.dev/de/c/message_boards/find_message?p_l_id=119785294&amp;messageId=118306754" />
    <author>
      <name>ildar sl</name>
    </author>
    <id>https://liferay.dev/de/c/message_boards/find_message?p_l_id=119785294&amp;messageId=118306754</id>
    <updated>2020-01-20T20:53:36Z</updated>
    <published>2020-01-20T20:53:36Z</published>
    <summary type="html">&lt;html&gt;&lt;head&gt;&lt;/head&gt;&lt;body&gt;Hi!&lt;br&gt;Liferay 7.2 GA 2 + Android Studio 3.5.3&lt;br&gt;Trying to register in a mobile application.&lt;br&gt;&lt;br&gt;&lt;strong&gt;signup.xml&lt;/strong&gt;&lt;br&gt;&lt;pre&gt;&lt;code&gt;&amp;lt;com.liferay.mobile.screens.auth.signup.signupscreenlet android:id="@+id/signup_screenlet" android:layout_width="match_parent" android:layout_height="match_parent" app:anonymousApiPassword="@string/liferay_anonymousApiPassword" app:anonymousApiUserName="@string/liferay_anonymousApiUserName" /&amp;gt;&lt;/code&gt;&lt;/pre&gt;&lt;br&gt;&lt;br&gt;&lt;strong&gt;SignUpActivity.java&lt;/strong&gt;&lt;br&gt;&lt;pre&gt;&lt;code&gt;public class SignUpActivity extends ThemeActivity implements SignUpListener {
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.signup);
        SignUpScreenlet screenlet = findViewById(R.id.signup_screenlet);
        screenlet.setListener(this);
    }
    
    @Override
    public void onSignUpFailure(Exception e) {
        error(getString(R.string.signup_error), null);
    }
    
    @Override
    public void onSignUpSuccess(User user) {
        info(getString(R.string.sign_up_success_info) + " " + user.getId());
    }
}&lt;/code&gt;&lt;/pre&gt;&lt;br&gt;&lt;strong&gt;LogError&lt;/strong&gt;&lt;br&gt;&lt;br&gt;&lt;pre&gt;&lt;code&gt;2020-01-20 14:02:09.891 16631-16631/com.example.testforliferay E/LiferayScreens: Could not sign up
    com.liferay.mobile.android.exception.AuthenticationException: java.lang.SecurityException
        at com.liferay.mobile.android.http.Response.checkPortalException(Response.java:95)
        at com.liferay.mobile.android.http.Response.getBody(Response.java:49)
        at com.liferay.mobile.android.http.HttpUtil.post(HttpUtil.java:118)
        at com.liferay.mobile.android.http.HttpUtil.post(HttpUtil.java:128)
        at com.liferay.mobile.android.service.SessionImpl.invoke(SessionImpl.java:102)
        at com.liferay.mobile.screens.service.v70.UserService.addUser(UserService.java:78)
        at com.liferay.mobile.screens.auth.login.connector.UserConnector70.addUser(UserConnector70.java:44)
        at com.liferay.mobile.screens.auth.signup.interactor.SignUpInteractor.sendSignUpRequest(SignUpInteractor.java:103)
        at com.liferay.mobile.screens.auth.signup.interactor.SignUpInteractor.execute(SignUpInteractor.java:60)
        at com.liferay.mobile.screens.base.interactor.BaseInteractor$1.run(BaseInteractor.java:29)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607)
        at java.lang.Thread.run(Thread.java:761)
2020-01-20 14:02:09.895 16631-16631/com.example.testforliferay E/LiferayScreens: Error&lt;/code&gt;&lt;/pre&gt;&lt;br&gt;&lt;br&gt;Help me please.&lt;/body&gt;&lt;/html&gt;</summary>
    <dc:creator>ildar sl</dc:creator>
    <dc:date>2020-01-20T20:53:36Z</dc:date>
  </entry>
</feed>
