Skip to content

Commit 06e7fd7

Browse files
added scope to assertion flow
1 parent ff55a95 commit 06e7fd7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/strategy.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ OAuth2Strategy.prototype.authenticate = function(req, options) {
168168
var params = self.tokenParams(options);
169169
params.grant_type = 'urn:ietf:params:oauth:grant-type:jwt-bearer';
170170
params.assertion = assertion;
171-
params.scope = 'AccountantsFramework practice.online';
171+
params.scope = self._scope.join(self._scopeSeparator);
172172
if (callbackURL) { params.redirect_uri = callbackURL; }
173173
if (typeof ok == 'string') { // PKCE
174174
params.code_verifier = ok;

0 commit comments

Comments
 (0)