Click HERE to see how Saviynt Intelligence is transforming the industry. |
02/02/2024 02:17 PM
Hello,
This is for an AzureAD user import using a REST connection. I can get the connection and import working to import users from Azure AD if, in the ConnectionJSON, I hard-code accessToken with an actual bearer token value retrieved from Postman.
I am following the steps here for Configuring the Integration for Importing Users:
My JSON is the same as this ConnectionJSON, with the exception of the variables (client_id, client_scecrt, url)
When I keep "accessToken": "Bearer abcd", I get the following log entry (trimmed a bit for readability):
responseText:{"error":{"code":"InvalidAuthenticationToken","message":"IDX14100: JWT is not well formed, there are no dots (.).\nThe token needs to be in JWS or JWE Compact Serialization Format. (JWS): 'EncodedHeader.EndcodedPayload.EncodedSignature'. (JWE): 'EncodedProtecte
Once I replace "Bearer abcd" with a real token, things begin to work. Any help is appreciated to get the ${access_token} variable assigned properly from the ConnectionJSON.
Solved! Go to Solution.
02/04/2024 02:12 PM
I figured out the issue, and it can be chalked up to a newbie user error. My URL in the connectionJSON had a leading space: " https://" and removing that leading space made the access_token start getting assigned properly.