How do I set return_uri for GoogleWebAuthorizationBroker.AuthorizeAsync?

后端 未结 3 424
谎友^
谎友^ 2020-12-01 21:24

I am trying to use the Google Calendar API in my non-MVC .NET Web Application. (This appears to be an important distinction.)

I’ve tried to us

3条回答
  •  萌比男神i
    2020-12-01 21:33

    selecting "other" while creating oAuth Client ID helped me resolve the redirection issue for me. (Having the "Web Application" option tries to redirect to some url with random port, which is very annoying)

    Now my Gmail API works like a charm :)

提交回复
热议问题