flask-oauth2-login icon indicating copy to clipboard operation
flask-oauth2-login copied to clipboard

401 unauthorized

Open cjauvin opened this issue 9 years ago • 3 comments

Hi, I'm getting:

{
  "error": "401 Client Error: Unauthorized"
}

when trying example.py, any idea? I have http://localhost:5000/login/google in my list of "Redirect URIs" on console.developers.google.com.

cjauvin avatar Apr 29 '15 19:04 cjauvin

It's because the scopes that are provided in this are deprecated (see here: https://github.com/marksteve/flask-oauth2-login/blob/master/flask_oauth2_login/google.py#L10-13).

irmiller22 avatar Jun 16 '15 20:06 irmiller22

Yes you're right. Sorry, I haven't been able to update this since I haven't been using it much. PRs are very welcome though :)

marksteve avatar Jun 17 '15 12:06 marksteve

Archive in favor of https://github.com/singingwolfboy/flask-dance

SmartManoj avatar Mar 28 '20 19:03 SmartManoj