added token endpoint url

This commit is contained in:
Simon Redfern 2023-12-12 14:22:59 +01:00
parent 18ad5500af
commit d69c73e806

View File

@ -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)
|