@@ -1130,7 +1130,8 @@ func TestCreateOIDCSaasAccessApplications(t *testing.T) {
1130
1130
"hybrid_and_implicit_options": {
1131
1131
"return_id_token_from_authorization_endpoint": true,
1132
1132
"return_access_token_from_authorization_endpoint": true
1133
- }
1133
+ },
1134
+ "access_token_lifetime": "1m"
1134
1135
}
1135
1136
}
1136
1137
}
@@ -1177,6 +1178,7 @@ func TestCreateOIDCSaasAccessApplications(t *testing.T) {
1177
1178
ReturnIDTokenFromAuthorizationEndpoint : BoolPtr (true ),
1178
1179
ReturnAccessTokenFromAuthorizationEndpoint : BoolPtr (true ),
1179
1180
},
1181
+ AccessTokenLifetime : "1m" ,
1180
1182
},
1181
1183
CreatedAt : & createdAt ,
1182
1184
UpdatedAt : & updatedAt ,
@@ -1207,6 +1209,7 @@ func TestCreateOIDCSaasAccessApplications(t *testing.T) {
1207
1209
ReturnIDTokenFromAuthorizationEndpoint : BoolPtr (true ),
1208
1210
ReturnAccessTokenFromAuthorizationEndpoint : BoolPtr (true ),
1209
1211
},
1212
+ AccessTokenLifetime : "1m" ,
1210
1213
},
1211
1214
SessionDuration : "24h" ,
1212
1215
})
@@ -1238,6 +1241,7 @@ func TestCreateOIDCSaasAccessApplications(t *testing.T) {
1238
1241
ReturnIDTokenFromAuthorizationEndpoint : BoolPtr (true ),
1239
1242
ReturnAccessTokenFromAuthorizationEndpoint : BoolPtr (true ),
1240
1243
},
1244
+ AccessTokenLifetime : "1m" ,
1241
1245
},
1242
1246
SessionDuration : "24h" ,
1243
1247
})
0 commit comments