HelloJS + Cordova: problem with redirect_uri

I'm having trouble using HelloJS with the Google+ API. It works well using the local development server, but when I try to use it in a Cordova application, I get an error.

In the Google Development console, I created a client identifier for web applications. The settings were set below:

enter image description here

On my phone I get error 400 "Invalid parameter for redirect_uri: Missing permissions: file: ///android_asset/www/index.html"

Any suggestions on how to solve this?

+1
source share
1 answer

Explicitly set

hello.init( clientIds, {redirect_uri:'http://localhost/'}) 
+2
source

Source: https://habr.com/ru/post/1207483/


All Articles