Client creation using API error
Hi there
i'm trying to use Oauth security with a OAM development environment . oracle did remove the Oauth management from OAM UI from OAM 12C . so i had to use the API's oracle gave , to make the long story short i followed this doc. to create Domain , ResourceServer , Client and scopes ... i managed to create all throw the API's but i keep failing creating the Client . below is the curl command i use following the below documentation
Command :-
curl -i -H 'Content-Type: application/json' -H 'Authorization:Basic d2VibG9naWM6V2VsY29tZTE=' --request POST 'http:192.168.1.240:7009/oam/services/rest/ssa/api/v1/oauthpolicyadmin/client' -g -d {"attributes":[{"attrName":"customeAttr1","attrValue":"CustomValue","attrType":"static"}],"secret":"welcome1","id":"TestClient","scopes":["TestResource1.info"],"clientType":"CONFIDENTIAL_CLIENT","idDomain":"TestDomain","description":"Client Description","name":"TestClient","grantTypes":["PASSWORD","CLIENT_CREDENTIALS","JWT_BEARER","REFRESH_TOKEN","AUTHORIZATION_CODE"],"defaultScope":"TestResource1.info","redirectURIs":[{"url":"