Skip to content

Commit

Permalink
added token endpoint url
Browse files Browse the repository at this point in the history
  • Loading branch information
simonredfern committed Dec 12, 2023
1 parent 18ad550 commit d69c73e
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions obp-api/src/main/scala/code/api/util/Glossary.scala
Original file line number Diff line number Diff line change
Expand Up @@ -2115,12 +2115,11 @@ object Glossary extends MdcLoggable {
|
|Register your App key [HERE]($getServerUrl/consumer-registration)
|
|Copy and paste the CONSUMER_KEY, CONSUMER_SECRET and REDIRECT_URL for the subsequent steps below.
|Copy and paste the CLIENT ID (AKA CONSUMER KEY), CLIENT SECRET (AKA CONSUMER SECRET) and REDIRECT_URL for the subsequent steps below.
|
|
|### Step 2: Initiate the OAuth 2.0 / OpenID Connect Flow
|
|
|Once you have registered your App you should initiate the OAuth2 / OIDC flow using the following URL
|
|${APIUtil.getHydraPublicServerUrl}/oauth2/auth
Expand All @@ -2129,6 +2128,12 @@ object Glossary extends MdcLoggable {
|
|${APIUtil.getHydraPublicServerUrl}/oauth2/auth?client_id=YOUR-CLIENT-ID&response_type=code&state=GENERATED_BY_YOUR_APP&scope=openid+offline+ReadAccountsBasic+ReadAccountsDetail+ReadBalances+ReadTransactionsBasic+ReadTransactionsDebits+ReadTransactionsDetail&redirect_uri=https%3A%2F%2FYOUR-APP.com%2Fmain.html
|
|### Step 3: Exchange the authorisation code for an access token
|
|The token endpoint is:
|
|${APIUtil.getHydraPublicServerUrl}/oauth2/token
|
|
|For further information please see [here](https://www.ory.sh/hydra/docs/concepts/login#initiating-the-oauth-20--openid-connect-flow)
|
Expand Down

0 comments on commit d69c73e

Please sign in to comment.