We are trying to add new SSO based user using rancher API.
We used below curl to create user but it is creating local user.
curl -u XXXXX -s -X POST https://rancher.XXXXX/v3/users -H ‘Content-Type: application/json’ -d ‘{ “username” : “XXX@XX.com”,“password”: “1234567”}’
Note: Tried without password throwing below error
{“baseType”:“error”,“code”:“ServerError”,“message”:“password not a string”,“status”:500,“type”:“error”}
How to create SSO user using rancher API