OpenBankProject / OpenBankProject/OBP-API
Unable to get oauth token using the Direct login for PSD 2
Nobody has claimed this yet.
- Dominant language
- Scala
- Stars
- 1.7k
- Forks
- 482
- Avg merge
- 1d 12h
- Merged PRs (30d)
- 15
Description
Hi,
I am getting error : "OBP-20008: Invalid Consumer Key" using the REST client. Though I provide correct consumer key.
My request ==>
POST https://psd2-api.openbankproject.com/my/logins/direct
Header == > Content-Type: application/json
Header ==> Authorization : DirectLogin username="robert.xuk.x@example.com",password="5232e7", consumer_key="2lrff3nzc45t4qnqtbe1lyyqyjjpjz3xqetn0mdn"
Headers :
content-type:
application/json
authorization:
DirectLogin username="robert.xuk.x@example.com",password="5232e7", consumer_key="2lrff3nzc45t4qnqtbe1lyyqyjjpjz3xqetn0mdn"
cookie:
we-use-cookies-indicator=1; JSESSIONID=awujtscq2w2x1nhwb6wbdyw2z
Thanks,
Nivedita
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Use the POST /my/logins/direct endpoint as the entry point and trace how the DirectLogin consumer_key is validated for the PSD2 API. Done means identifying the cause of the OBP-20008 response and confirming the expected authentication behavior with a reproducible request.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- scala
- Domain
- api, authentication
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100