[Google Login Plugin] congiure the google login plus

[Google Login Plugin] congiure the google login plus

  
Forge Component
(6)
Published on 2017-07-06 by Labs
6 votes
Published on 2017-07-06 by Labs

Hi,

I have configured the Google Login Plugin for my app. I have three environments through which the app will be published one after another – Dev, Test and Production.

For each environment I have configured the web, android and ios client ids using the respective bundle identifier and SHA-1 file.

Now we have a principle not to publish directly in the test environment. So I changed the dev’s configuration with the config needed for test environment and we pushed the code. The google login is working fine in Test and also in Dev.

Here are my questions:

  1. Is this the normal behavior? How can the config that is created with test environment’s client id work for dev environment?
  2. Can the same work for PROD environment?
  3. Do I need to create a separate one for PROD environment?

Hello Jeyasri,


Do you use the same app identifier for both environments? If so, then it's possible.

I've implemented Facebook Login in the past and it was possible to "share" the Facebook Console configuration between environments.

Regarding the last question, my suggestion is that yes, create a separate application for Production environment.


Happy (low)coding!