Skip to content

Can't get refresh_token from google-oauth2 response #431

@elmkarami

Description

@elmkarami

Hey there,

I'm working on a project that uses PSA 0.2.1, we used DSA then we migrated.
With DSA we used the param : GOOGLE_OAUTH2_AUTH_EXTRA_ARGUMENTS = {'access_type': 'offline'}, so we can refresh 'acces_token' for google-oauth2 whenever it's needed and that's because extras_data field contained a refresh_token, but this doesn't work anymore with PSA, when a new user is registred, the extras_data doesn't contain the refresh_token anymore.

My question is how can i get the refresh_token ? is there a settings param for that ?

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions