Skip to content

Commit

Permalink
adds s_hash only for authorization endpoint issued ID Tokens
Browse files Browse the repository at this point in the history
  • Loading branch information
panva committed Sep 9, 2017
1 parent 56d880f commit 4592940
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion lib/actions/token/authorization_code.js
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,6 @@ module.exports.handler = function getAuthorizationCodeHandler(provider) {
token.set('nonce', code.nonce);
token.set('at_hash', accessToken);
token.set('rt_hash', refreshToken);
token.set('s_hash', code.state);
token.set('sid', code.sid);

const idToken = await token.sign(ctx.oidc.client);
Expand Down
1 change: 0 additions & 1 deletion lib/actions/token/refresh_token.js
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,6 @@ module.exports.handler = function getRefreshTokenHandler(provider) {
token.set('nonce', refreshToken.nonce);
token.set('at_hash', accessToken);
token.set('rt_hash', refreshTokenValue);
token.set('s_hash', refreshToken.state);
token.set('sid', refreshToken.sid);

const idToken = await token.sign(ctx.oidc.client);
Expand Down

0 comments on commit 4592940

Please sign in to comment.