Skip to content

Commit

Permalink
missed options.duration
Browse files Browse the repository at this point in the history
  • Loading branch information
gavinr committed May 20, 2021
1 parent 0a3c828 commit 50e47d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/arcgis-rest-auth/src/UserSession.ts
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,7 @@ export class UserSession implements IAuthenticationManager {
redirectUri
)}&state=${state}&locale=${locale}`;
} else {
url = `${portal}/oauth2/social/authorize?client_id=${clientId}&socialLoginProviderName=${provider}&autoAccountCreateForSocial=true&response_type=token&expiration=${expiration}&redirect_uri=${encodeURIComponent(
url = `${portal}/oauth2/social/authorize?client_id=${clientId}&socialLoginProviderName=${provider}&autoAccountCreateForSocial=true&response_type=token&expiration=${options.duration || expiration}&redirect_uri=${encodeURIComponent(
redirectUri
)}&state=${state}&locale=${locale}`;
}
Expand Down

0 comments on commit 50e47d8

Please sign in to comment.