0
votes

So I'm trying to add google+ account authentication for my web app (using OAuth 2.0).
The button appears and a window pops up on click ("Error: origin_mismatch"), and the console logs "immediate_failed". I've been looking through some similar questions and it seems that the problem is my OAuth javascript origin/redirect URI.

Let's say the sign in page is at: https://www.site.com/path/main.html , so what should be entered in for the redirect URIs and javascript origins?

Thanks!

1

1 Answers

0
votes

https://www.site.com for the Javascript origin - if you're using the Javascript flow then the oauth callback doesn't really matter (its used for the server redirect based flow).