OpenBankProject / OpenBankProject/OBP-API
Add Resource UserAuthContext
Nobody has claimed this yet.
- Dominant language
- Scala
- Stars
- 1.7k
- Forks
- 482
- Avg merge
- 1d 12h
- Merged PRs (30d)
- 15
Description
Add new model UserAuthContext
userId: String
key: String
value : String
Add role CanModifyUserAuthContext
Add POST , GET for this resource.
example usage:
userId = "qieuriopwoir987203984729384ipeiu"
key = "CUSTOMER_NUMBER"
value = "78987432"
userId = "qieuriopwoir987203984729384ipeiu"
key = "TOKEN"
value = "qieuriopwoir987ASYDUFISUYDF678u"
list[AuthContext] will be added to authInfo / callContext for the purpose of identifying the user making the call. This will give us more flexibility when sending requests to the CBS on behalf of the User.
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
Start by locating existing resource models, CanModify roles, and POST/GET route definitions in the Scala project, then trace how authInfo and callContext are assembled. Compare analogous resources and determine how UserAuthContext entries should be represented there. Done means the model, role, endpoints, and auth context integration are covered consistently.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- scala
- Domain
- api, authorization, backend
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100