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!