Skip to content

Add logic for pulling and saving refresh tokens on sessions #71

@SpaceboatDVLP

Description

@SpaceboatDVLP

It would be great to integrate the ability to pull and save refresh tokens on a session.

I was able to get this working locally for the Google oAuth service by adding access_type=offline&, at which point the refresh token gets returned from the Google API similar to the current flow for pulling and saving an access token.

This would be helpful for workflows where the user grants permission to the web app once, then the app periodically refreshes the access token with the refresh token behind the scenes and continues to interoperate with the linked account.

Cheers, and great library!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions