SAP / gigya-android-sdk

SAP CDC (Gigya) android sdk for mobile
Apache License 2.0
19 stars 13 forks source link

social login not work #61

Closed Greathfs closed 8 months ago

Greathfs commented 10 months ago

I use the example, I configure apikey and apiDomain, and then I type in messenger, and then I click the social login button, and the page looks like this image

Greathfs commented 10 months ago

https://socialize.eu1.gigya.com/socialize.login?client_id=4_TweK0gdZ47NqO1pQRldNMA&gmid=gmid.ver4.AcbHi9iHpA.9d2IUeIOsXZCyvXN4ZEoP4YW81KmK-NTXYneYUNqjDST6OBjICkagUmTxRnfYlWF.UnbPAu1ZNjeRaSScTnLaljKNgxxLQthY7VKkyerA1bedG9DT-kYRKa2netYZt7LQVph55XtCl9vWBCTnqDBcgg.sc3&nonce=1698218161438_-404005309&redirect_uri=gigya%3A%2F%2Fgsapi%2Fcom.gigya.android.sample%2Flogin_result&response_type=token&ucid=giWi-NXkDIKf84y9Sd-9EQ&x_provider=messenger&x_sdk=7.0.6&x_secret_type=oauth1

Greathfs commented 10 months ago

@tal-mi hi,can u help to slow down this problem?

tal-mi commented 9 months ago

Hi, I am assuming you followed the correct setup on your console regarding microsoft social provider? https://help.sap.com/docs/SAP_CUSTOMER_DATA_CLOUD/8b8d6fffe113457094a17701f63e3d6a/41656e5d70b21014bbc5a10ce4041860.html?q=identity%20providers

I don't see your cname implementation in the configuration json file.

tal-mi commented 9 months ago

Hi, your redirect url is "gigya://gsapi/com.gigya.android.sample/login_result" (attached above). In your site settings (console) you have typed an incorrect trusted site URL "gigya://gsapi.com.hisense.juconnect.connectlife/login_result" Please correct to "gigya://gsapi/com.hisense.juconnect.connectlife/login_result" and try again (I do not have the permissions to do it on your site).