Login oauth (Google) not workingLogin oauth (Google) not workinghttps://liferay.dev/en/c/message_boards/find_thread?p_l_id=119785333&threadId=1142420522024-03-29T08:31:01Z2024-03-29T08:31:01ZRE: Login oauth (Google) not workingDavide Dellaihttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=1142494132019-07-11T12:39:31Z2019-07-11T12:39:31ZI can't understand where to find the redirect page. I mean, my website url should be the same of the redirect page. When a user (not logged in) opens the web page (<a href="www.mysite.com">www.mysite.com</a>) he sees the button "Sign in with google". And then he can enter in the website at the same url. But it's not working. It shows me a blank activity. And I also have this error if I change the client type "Grant type "PKCE ... " is unsupported for this client type.Davide Dellai2019-07-11T12:39:31ZRE: Login oauth (Google) not workingVictor Galanhttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=1142454892019-07-10T21:40:25Z2019-07-10T21:40:25ZHeyYou have to configure an oauth2 application in the portal if you want to use it, you can chose the oauth2 flow that fits your use case, for what you are describing you should go for authorization code (PKCS), and in screens its the oauth2Redirect mode, this would open a browser with the login page, which would contain login with google button.You can check the docs <a href="https://portal.liferay.dev/docs/7-1/deploy/-/knowledge_base/d/oauth-2-0">here</a>I hope it helpsVictor Galan2019-07-10T21:40:25ZLogin oauth (Google) not workingDavide Dellaihttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=1142420512019-07-10T08:26:50Z2019-07-10T08:26:50ZHi,<br />I'm trying to login using the Liferay Mobile SDK for Android through a google oauth2 authentication but it's not working.<br />I haven't a liferay email to authenticate but it's the company domain like:<br /><br />myname@mycompanyname.it<br /><br />this is a google domain. In the web portal I can authenticate just pressing the button "Login with google". That's what i've done so far.<br /><br /><blockquote><com.liferay.mobile.screens.auth.login.LoginScreenlet <br /> android:id="@+id/login_screenlet" <br />android:layout_width="match_parent" <br /> android:layout_height="match_parent" <br /> app:layoutId="@layout/login_material" <br /> android:visibility="visible" <br /> app:basicAuthMethod="email" <br /> app:loginMode="oauth2UsernameAndPassword" <br /> app:oauth2Redirect="@string/liferay_server" <br /> app:credentialsStorage="shared_preferences" <br /> app:oauth2ClientId="@string/clientIdOauth" <br /> app:companyId="@string/bot_liferay_company_id" /><br /></blockquote> I got the oauth2ClientId key from the tab "Instance settings" of the portal under the section "Authentication" and then "Google" is that correct?But here I have 2 problems. First one is that when I run the app and I try to login I get an error message "clientSecret cannot be null or empty" and the second is "Where is this clientSecret key??"<br />I also tried to change the loginMode in app:loginMode="oauth2Redirect". But in this way the login screen not appears. I've an empty activity. So, as last hope, I tried changing again the loginMode in "Basic". And in this way I've got this error "com.liferay.mobile.android.exception.AuthenticationException: java.lang.SecurityException". I can't understa