PARTNERS - Please join us for our upcoming webinar:
Leveraging Intelligent Recommendations for Operational Transformation.
AMS Partners click HERE | EMEA/APJ Partners click HERE

RSA SecurID JWT with the REST connector help needed

Former Member
Not applicable

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?

9 REPLIES 9

SB
Saviynt Employee
Saviynt Employee

Let me check this and will update.


Regards,
Sahil

rushikeshvartak
All-Star
All-Star

Are you using below API doc ?

https://community.rsa.com/t5/securid-cloud-authentication/securid-authentication-api-developer-s-gui... 

As per doc private key should work 

https://docs.saviyntcloud.com/bundle/REST-v23x/page/Content/Developers-Handbook.htm


Regards,
Rushikesh Vartak
If this helped you move forward, click 'Kudos'. If it solved your query, select 'Accept As Solution'.

Former Member
Not applicable

jwt_connection.png

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?

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.


Regards,
Rushikesh Vartak
If this helped you move forward, click 'Kudos'. If it solved your query, select 'Accept As Solution'.

SB
Saviynt Employee
Saviynt Employee

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.


Regards,
Sahil

Former Member
Not applicable

Using private key JWT, there isn't a URL being called. Will it work without specifying a URL?

SB
Saviynt Employee
Saviynt Employee

How do you generate the access token from postman?


Regards,
Sahil

Former Member
Not applicable

Postman has support for private key JWT. https://oauth.net/private-key-jwt/

jwt_postman.png

[This post has been edited by a Moderator to remove sensitive information.]

SB
Saviynt Employee
Saviynt Employee

Can you confirm if you were able to implement this or is being still worked on.


Regards,
Sahil