Hi there,
Can you please elaborate more on your need?
From your comment
> "Authorization header. As value use the encoded credentials "
It looks like you are using test mode. But afterwards you have mentioned:
> I don't wish to use SCIM test mode
So it's a bit puzzling.
If you are a starter, I recommend you to use test mode. Test mode in 3.1.x is a lot more safer than in previous version but came at the cost of some programming is needed.
Unfortunately, we don't have PHP sample code for this case. The hard part is being able to get the access token, otherwise it's just a matter of ramming the token into the HTTP header of your requests to the SCIM endpoints.
Note that you are not passing the token as a request parameter anymore: https://www.gluu.org/docs/ce/user-management/scim2/#differences-between-current-31x-and-older-test-mode
If you are stuck getting the token, please double check you created the openId Client in oxTrust as explained in the docs, and follow the [algorithm given](https://www.gluu.org/docs/ce/user-management/scim2/#request-an-access-token-to-the-token-endpoint) - it's very detailed.
Kind regards,
Jose.