Well, I am also encountering the same error which has been discussed online many times, however, I have some questions regarding some of the previous discussions which could help me in troubleshooting my problem:
Q1: The very first answer here says that "The redirect URI (where the response is returned to) has to be registered in the APIs console". So, I have http://myportal.com
defined for both REDIRECT URIS
and JAVASCRIPT ORIGINS
as shown in the image below:
Does it means that I have registered the redirect URI properly?
Q2 Another answer to a post here talks about installed applications
. What does installed applications means here?
Q3. In the error, I keep on getting The redirect URI in the request: http://myportal.com/session/oauth2callback.cfm did not match a registered redirect URI
I don't know from where outh2callback.cfm
is getting added over there as I have already removed out2callback
thing from the end of REDIRECT URIS
section as clear from the image above.