Matt Roberts
Matt Roberts

Reputation: 26887

Google OAuth 2.0 for asp.net core MVC

I want to add Google calendar integration to my asp.net core web application. Once authorised for a user, the app will send updates to the user's calendar in the future.

The google api docs show how to use a FlowMetaData and a custom IDataStore in an asp.net MVC app to simplify the oauth dance and subsequent storage of tokens for a user, which looks spot on for what I need, but it's not core-compatible.

Is there a similar way to do this using asp.net core?

Upvotes: 0

Views: 540

Answers (1)

Chris
Chris

Reputation: 1705

Unfortunately there's currently no fully supported way to do this.

The following PRs show two different approaches that may be useful:

Note that neither are merged, and I know that #1163 is currently unfinished.

Upvotes: 1

Related Questions