-
Notifications
You must be signed in to change notification settings - Fork 119
Test Your SCIM Endpoint
Provided below are test cases that you can use to ensure that your SCIM endpoint is compliant with the SCIM RFC.
All the endpoints are are at the {host}/scim/ directory and can be interacted with standard HTTP requests. The /scim/ route can be modified in the ControllerConstant.cs file located in AzureADProvisioningSCIMreference > ScimReferenceApi > Controllers.
- Download the Postman client.
- Import the Postman collection by copying the link https://aka.ms/ProvisioningPostman and pasting it into Postman as shown below:
- Create a Postman environment for testing by specifying the following variables below:
-
If running the project locally using IIS Express:
Variable Value Server localhost Port :44359 (* Don't forget the ':') API scim -
If running the project locally using Kestrel:
Variable Value Server localhost Port :5001 (* Don't forget the ':') API scim -
If hosting the endpoint in Azure:
Variable Value Server scimreferenceapi19.azurewebsites.net Port (* leave it blank) API scim
-
If running the project locally using IIS Express:
The SCIM endpoints are secured, before you connecting you need to get a security token. In the sample code, you can use the {host}/scim/token endpoint to generate a self-signed token.
Use "Get Key" from the Postman Collection to send a GET request to the token endpoint and retrieve the security token (the resulting token will be stored in the "token" variable and used in the subsequent requests).