Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to create/update client with sectorIdentifierUri #9

Open
hiromoon opened this issue Nov 20, 2024 · 0 comments
Open

Unable to create/update client with sectorIdentifierUri #9

hiromoon opened this issue Nov 20, 2024 · 0 comments
Assignees

Comments

@hiromoon
Copy link

Issue: Unable to create/update client with sectorIdentifierUri

curl -X POST $AUTHLETE_API_BASE_URL/api/client/create \
  -H 'Content-Type:application/json' \
  -u "$AUTHLETE_SERVICE_API_KEY:$AUTHLETE_SERVICE_API_SECRET" \
  -d '{ "clientName": "hiromoon curl test", "description": "curl test", "logoUri": "https://example.com/logo.png", "redirectUris": [ "https://example.com/callback" ], "sectorIdentifierUri": "https://example.com/sector", "developer": "hiromoon", "clientType": "confidential", "grantTypes": ["AUTHORIZATION_CODE"], "responseTypes": ["CODE_ID_TOKEN"], "tokenAuthMethod": "client_secret_basic", "subjectType": "pairwise" }'

{"resultCode":"A032219","resultMessage":"[A032219] /client/create, The sector identifier URI did not resolve to a valid JSON document."}

I am able to create/update clients with sectorIdentifierURI, but the documentation uses sectorIdentifierUri.
See here: Authlete OpenAPI Specification

@hefa hefa self-assigned this Nov 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants