Skip to content

Add Refresh Tokens to handle Google OAuth2 process #181

Description

@ZhenjaMax

Please describe your feature request

I'm frustrated with Google OAuth2 authorization. I have to do this every hour, and it's annoying!

Describe the solution you'd like

Use Refresh Tokens. They allow the client to use the same OAuth2 token much longer.

I'll try to point out some of the details.

  1. Use access_type=offline on the PHP server side to get Refresh Token with OAuth2 Token.
  2. Create OS installation to handle URI so Card Maker can be opened from the browser link.
  3. Look at the GoogleInitializerFactory class at line 72: delete IssuedUtc = DateTime.UtcNow and add Refresh Token there later.

Potentially useful links

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions