mirror of
https://github.com/OpenBankProject/OBP-API.git
synced 2026-02-06 15:06:50 +00:00
added token endpoint url
This commit is contained in:
parent
18ad5500af
commit
d69c73e806
@ -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)
|
||||
|
|
||||
|
||||
Loading…
Reference in New Issue
Block a user