Social Login (Facebook And Google) Stopped Working After PS3 Upgrade With The Error: redirect_uri_mismatch And Can't Load URL
Last updated on DECEMBER 16, 2016
Applies to:Oracle Mobile and Social - Version 22.214.171.124.0 and later
Information in this document applies to any platform.
Using OAM version 126.96.36.199.7:
After the upgrading OAM from 11gR2PS1 to 11gR2PS3 then applied the BP07, all the web applications which were integrated with Social login (mainly facebook and google) have stopped working.
The error we are getting is related to redirect_uri mismatch.
After further investigation, it seems that the redirect uri which is getting created at runtime in FacebookImpl and GoogleImpl class is the OAM loadbalancer URL. This load balancer URL is the one configured in Access Manager Settings.
And for security reasons, this OAM loadbalancer URL is not exposed to internet.
This issue didn't happen with PS1. All our applications were successfully integrated with Social Identity providers.
Error from the Facebook-oamServer2-diagnostic.log:
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms