From d69c73e806e59a7cb0997b6396fe130576a33ea1 Mon Sep 17 00:00:00 2001 From: Simon Redfern Date: Tue, 12 Dec 2023 14:22:59 +0100 Subject: [PATCH] added token endpoint url --- obp-api/src/main/scala/code/api/util/Glossary.scala | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/obp-api/src/main/scala/code/api/util/Glossary.scala b/obp-api/src/main/scala/code/api/util/Glossary.scala index b60d9ab57..cee7c95e1 100644 --- a/obp-api/src/main/scala/code/api/util/Glossary.scala +++ b/obp-api/src/main/scala/code/api/util/Glossary.scala @@ -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 @@ -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) |