8

When I enter my Client Id of an app that is authorized for Mirror API on the Mirror API Playground, and click Authorize, it opens an oAuth screen with an error:

Error: origin_mismatch
Request Details
scope=https://www.googleapis.com/auth/glass.timeline
response_type=token
access_type=online
redirect_uri=postmessage
proxy=oauth2relay706906217
origin=https://mirror-api-playground.appspot.com
state=697419930|0.9593537
display=page
client_id=111111111111.apps.googleusercontent.com
authuser=0
jyoseph
  • 5,435
  • 9
  • 45
  • 64
Cecilia Abadie
  • 345
  • 1
  • 7

1 Answers1

15

I was missing one step in the process which is adding https://mirror-api-playground.appspot.com to the JavaScript origins for the web application client id.

Cecilia Abadie
  • 345
  • 1
  • 7
  • 3
    Also, I didn't notice that there's a big red button at the bottom of the playground that says "Show Playground Usage Information", which really means something more like "Show Instructions". For folks who have the same problem: click that button to make instructions magically appear! – Matthew Lowe Dec 03 '13 at 19:10