You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I struggled for a while to try and get a refresh token from Google. See this question. I ended up messing around with the source and (I think) I figured that the access_type arg doesn't get passed on - which seems to be fixed by adding a line like this:
$authorize_url->query->append(access_type => $provider_args->{access_type}) if defined $provider_args->{access_type};
in _auth_url around line 95 or so.
It could be that I haven't figured out the right way to do this (but then could you please take a look at the docs, which are slightly terse IMHO). Or maybe it is an issue - and I hope it's ok to raise it here. Thanks for all the work on Mojolicious BTW. It's been a joy and a lifesaver so often for me.
The text was updated successfully, but these errors were encountered:
I struggled for a while to try and get a refresh token from Google. See this question. I ended up messing around with the source and (I think) I figured that the
access_type
arg doesn't get passed on - which seems to be fixed by adding a line like this:in
_auth_url
around line 95 or so.It could be that I haven't figured out the right way to do this (but then could you please take a look at the docs, which are slightly terse IMHO). Or maybe it is an issue - and I hope it's ok to raise it here. Thanks for all the work on Mojolicious BTW. It's been a joy and a lifesaver so often for me.
The text was updated successfully, but these errors were encountered: