SAP/gigya-android-sdk

SSO Login can't redirect after changing applicationId

Closed this issue · 3 comments

When I edit the applicationId, the Login with SSO stop working:

Screenshot 2023-11-16 at 02 13 30

The webview return this error:

gsapi://login?error=invalid_request&error_description=The+redirect+URI+in+the+request%3a+gsapi%3a%2f%2fcom.gigya.android.sampleedited%2flogin%2f+did+not+match+a+registered+redirect+URI.&error_uri=https%3a%2f%2fhelp.sap.com%2fviewer%2f8b8d6fffe113457094a17701f63e3d6a%2fGIGYA%2fen-US%2f4167c2d870b21014bbc5a10ce4041860.html%3fcallId%3d8b5e7da0549a4b98ac78a8fcc0ef9472%26error%3dinvalid_request%26error_code%3d400009%26error_description%3dThe+redirect+URI+in+the+request%253A+gsapi%253A%252F%252Fcom.gigya.android.sampleedited%252Flogin%252F+did+not+match+a+registered+redirect+URI.&gig_ui_locales=fr&gig_login_hint=mode%3alogin%2cfromApp%3aandroid

tal-mi commented

Have you updated the trusted URLS with the new application id? (in your site settings).

Have you updated the trusted URLS with the new application id? (in your site settings).

I didn't updated trusted URLS for both com.gigya.android.sample and com.gigya.android.sampleedited. But the id com.gigya.android.sample still works.

tal-mi commented

Please open a support case via SAP support case. To handle this I will require sensitive data that cannot be handled in Github issues (APIKEY etc..).
This seems like an implementation issue.