box: Remove unnecessary iat from jws claims
This commit is contained in:
parent
ab6ed256e5
commit
0c0ed2fe04
1 changed files with 0 additions and 1 deletions
|
@ -194,7 +194,6 @@ func getClaims(boxConfig *api.ConfigJSON, boxSubType string) (claims *jws.ClaimS
|
||||||
Iss: boxConfig.BoxAppSettings.ClientID,
|
Iss: boxConfig.BoxAppSettings.ClientID,
|
||||||
Sub: boxConfig.EnterpriseID,
|
Sub: boxConfig.EnterpriseID,
|
||||||
Aud: tokenURL,
|
Aud: tokenURL,
|
||||||
Iat: time.Now().Unix(),
|
|
||||||
Exp: time.Now().Add(time.Second * 45).Unix(),
|
Exp: time.Now().Add(time.Second * 45).Unix(),
|
||||||
PrivateClaims: map[string]interface{}{
|
PrivateClaims: map[string]interface{}{
|
||||||
"box_sub_type": boxSubType,
|
"box_sub_type": boxSubType,
|
||||||
|
|
Loading…
Add table
Reference in a new issue