Question

I'm trying to set up a mirror API service for Google Glass. I turned on Mirror API in the google dashboard per the instructions in the glass developer website for Mirror API.

But when I go to create a Client ID for Oauth2, I get "Invalid web origin".

I'm putting in www.myserver.com/foldercreated, which exists in my server.

Was it helpful?

Solution

Use your url's domain name as Authorized JavaScript origins such as:

http://www.myserver.com

And your callback urls as Authorized redirect URI such as:

http://www.myserver.com/foldercreated

Don't forget to set http:// (or https://) prefix.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top