Skip to content

Commit

Permalink
Get refresh token on all devices
Browse files Browse the repository at this point in the history
  • Loading branch information
sienori committed Oct 14, 2021
1 parent 9605d9a commit 197a84d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/background/cloudAuth.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ const getAuthCode = async (email = "", shouldShowLogin = true) => {
`&redirect_uri=${encodeURIComponent(redirectUri)}` +
`&scope=${encodeURIComponent(scopes.join(" "))}` +
`&access_type=offline` +
`&prompt=consent` +
(email && `&login_hint=${email}`);

const redirectedURL = await browser.identity.launchWebAuthFlow({
Expand Down

0 comments on commit 197a84d

Please sign in to comment.