Skip to content

Commit db3c88f

Browse files
committed
update token endpoint
1 parent 8076a13 commit db3c88f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/createJWT.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,13 +58,13 @@ async function createJWT(doc: any) {
5858
"access_token": {
5959
"value": jwt,
6060
"manage": {
61-
"uri": url.protocol + "//" + url.hostname + "/token/" + doc.interact_nonce.value,
61+
"uri": url.protocol + "//" + url.hostname + "/as/token/" + doc.interact_nonce.value,
6262
"access_token": {
6363
"value": token_endpoint_access_token
6464
}
6565
},
6666
"access": doc.access_token.access,
67-
"expires_in": 7200,
67+
"expires_in": 21600,
6868
"flags": ["bearer"],
6969
"subject": {
7070
"sub_ids": subject

0 commit comments

Comments
 (0)