Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Need to keep the refresh_token #14

Open
andersoxie opened this issue Mar 15, 2021 · 1 comment
Open

Need to keep the refresh_token #14

andersoxie opened this issue Mar 15, 2021 · 1 comment

Comments

@andersoxie
Copy link
Contributor

if attached {OAUTH_TOKEN} google.access_token_extractor.extract (l_body) as l_access_token then

When we have got a body and extract the new token it does not include a refresh_token. The refresh_token we had need to be added before we store the new data to the file. I did this in my implementation;

						if attached a_token.refresh_token as l_token then
							l_access_token.set_refresh_token (l_token)
						end

I need to do some more testing but then I will commit it and push it to github in my clone with other changes.

@jvelilla
Copy link
Member

That seems ok.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants