Skip to content
This repository has been archived by the owner on Apr 5, 2023. It is now read-only.

rp-adapter: client registration #334

Open
llorllale opened this issue Sep 25, 2020 · 0 comments
Open

rp-adapter: client registration #334

llorllale opened this issue Sep 25, 2020 · 0 comments
Labels
documentation Improvements or additions to documentation refactor rp adapter

Comments

@llorllale
Copy link
Contributor

The RP Adapter currently implements a custom client registration endpoint:

Example

Request:

HTTP POST

{
    "label": "Acme University",
    "callback":"http://example.acme.edu/oauth2/callback",
    "scopes": ["openid", "book", "newspaper"]
}

Response:

HTTP 201 CREATED

{
    "clientID": "75095612-d5c4-44ee-a824-6ec50578b825",
    "clientSecret": "rGDy~Fwf8Hocym8y1q5~da5IV9",
    "publicDID": "did:trustbloc:testnet.trustbloc.local:EiAZRRfUgI9qnsUdYyL9dY40I5JOOJjQURgXFQ5HzYjGeQ"
}

We should attempt to conform to existing standards and rationalize any deviations from them:

@llorllale llorllale added documentation Improvements or additions to documentation rp adapter refactor labels Sep 25, 2020
@llorllale llorllale self-assigned this Sep 25, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
documentation Improvements or additions to documentation refactor rp adapter
Projects
None yet
Development

No branches or pull requests

1 participant