38
Views
3
Comments
[Social Login Configurator] Propertly configure social login to also work in other enviroments
Question
social-login-configurator
Reactive icon
Forge asset by OutSystems
Application Type
Mobile

Hi Community,

I configured Google login for iOS and Android. It is working on development but not on further environments. In the social login configurator you are configuring a provider, in this case Google. Directly after you define a app type, in this case Android and iOS. Last step is to provide a client id and client secret. So far so good, but.. In the Google Cloud console you have to configure two different OAuth Client ID's. 1 for Android and 1 for iOS. For iOS you need to provide a Bundle ID and for Android a package name. Both are the app identifier in OutSystems. They are unique per app per environment. So for example you could have these 3 for 1 application:

  • com.outsystemsenterprise.<environemtname>+dev.<appname> (development)
  • com.outsystemsenterprise.<environemtname>+tst.<appname> (testing)
  • com.outsystemsenterprise.<environemtname>.<appname> (production)

It is no problem to define this in the Google Cloud Console but I am not sure on how to configure this properly in OutSystems. Per app it is only possibile to configure 1 provider. After that you can download the json and import it into your mobile application. This json contains a few things such as a client id and client secret and therefor is linked to the OAuth client ID in the Google Cloud Console. Since this is not matching on other environments this will not work. What is the proper way to do this since I am not able to adjust the json on other environments? Did anyone encounter this problem?

Thanks in advance,

Bart

UserImage.jpg
Hector Gordin

Hi Bart,

Thank you for sharing your experience with configuring Social Login. We appreciate your feedback and understand the issue you are facing with different OAuth Client IDs for Android and iOS, and the unique app identifiers per environment.

We are going to look for a solution for this and will keep you updated on any progress.

If you encounter any other problems, please do not hesitate to let us know. We are always here to help.

Best regards,

Hector Gordin

2021-04-12 11-47-04
Bart Nooijens

Hi Hector,

Thanks for your response! If you need more information, do not hestitate to contact and i'll provide the information that is needed :-)

Best,

Bart

2021-04-12 11-47-04
Bart Nooijens

@Hector Gordin,

Any update on this?

Best,

Bart

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.