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
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