07/14/2023 09:25 AM - edited 07/14/2023 11:17 AM
Using the following connection JSON:
{
"authentications": {
"acctAuth": {
"authType": "Jwt",
"httpParamsName": "jwt_token",
"jwtConfig": {
"jwtHeader": {
"alg": "RS256",
"typ": "JWT"
},
"jwtPayload": {
"sub": "1234",
"aud": "https://xyz.access.securid.com/AdminInterface/restapi",
"iat": "${def date = new Date(); date.getTime();}",
"exp": "${def date = new Date(); date.getTime() + 120;}"
},
"signedAlgorithm": "RS256",
"key": "asdf",
"jwtExpiryDuration": 120
},
"retryFailureStatusCode": [
401,
500,
400
],
"authError": [
"SESSION_NOT_VALID",
"AuthenticationFailed",
"ExpiredJwtException",
"401 Unauthorized",
"401",
"You couldn't be authenticated"
],
"errorPath": "code",
"maxRefreshTryCount": 5,
"tokenResponsePath": "access_token",
"tokenType": "Bearer",
"accessToken": "Bearer asdf"
}
}
}
Has anyone successfully called RSA SecurID APIs using JWT with a private key? Is Private Key JWT supported?
07/19/2023 02:43 PM
Let me check this and will update.
07/19/2023 07:37 PM
Are you using below API doc ?
As per doc private key should work
https://docs.saviyntcloud.com/bundle/REST-v23x/page/Content/Developers-Handbook.htm
07/20/2023 09:09 AM
What would I use for the key? The actual private key file contents? Since I'm using private key JWT, what would I specify for url, as I don't have one? Are those fields okay to leave out?
07/20/2023 05:52 PM
keyFile | Use this attribute to specify the absolute path of the keystore which contains the public-private keypair. For example, /saviynt_shared/saviynt/ConnectorFiles/filename.pem. |
07/20/2023 09:35 AM
the url value will be the one you use in postman to make the call for token generation. The key value is for the secret key value for auth and in case you do not require for the call, you can remove the param from JSON.
07/20/2023 09:38 AM
Using private key JWT, there isn't a URL being called. Will it work without specifying a URL?
07/20/2023 10:34 AM
How do you generate the access token from postman?
07/20/2023 11:23 AM
09/05/2023 12:40 PM
Can you confirm if you were able to implement this or is being still worked on.