upload.py OAuth2 workflow incompatible with Chromium

33 views
Skip to first unread message

anatoly techtonik

unread,
Oct 17, 2015, 2:52:08 AM10/17/15
to codereview-discuss
I am trying to send this .diff
for review by Chromium team without checking
out 6.4Gb of source code.

I am trying to use this one:

    > upload.py -s codereview.chromium.org -t "Don't fail hash validation" --oauth2 --no_oauth2_webbrowser
    ...
    Go to the following link in your browser:
    
    
    and copy the access token.

But when I open https://codereview.chromium.org/get-access-token I immediately get the error:

    400. That’s an error.

    Error: redirect_uri_mismatch

    Application: Chrome Performance Dashboard

    The redirect URI in the request: https://codereview.chromium.org/oauth2callback did not match a registered redirect URI.


But why? If oauth2callback is a default endpoint, when what's the reason for Chromium team to rename it?

https://codereview.chromium.org/oauth2callback

For non-chromium instance I can get token without problems:

https://codereview.appspot.com/get-access-token



Marc-Antoine Ruel

unread,
Oct 17, 2015, 8:37:38 PM10/17/15
to anatoly techtonik, codereview-discuss
codereview.chromium.org doesn't support upload.py anymore. You have to have a complete checkout.

M-A

--
You received this message because you are subscribed to the Google Groups "codereview-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to codereview-disc...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

anatoly techtonik

unread,
Oct 18, 2015, 12:56:05 AM10/18/15
to Marc-Antoine Ruel, codereview-discuss
But why?
--
anatoly t.
Reply all
Reply to author
Forward
0 new messages