Identity Management (MOSC)

MOSC Banner

Client creation using API error

edited Sep 9, 2019 5:29AM in Identity Management (MOSC) 2 commentsAnswered ✓

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":"

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center