OpenBankProject / OpenBankProject/OBP-API

Signup doesn't update views

Open
#410 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Scala
Stars
1.7k
Forks
482
Avg merge
1d 12h
Merged PRs (30d)
15

Description

Just discovered this on socgen-k and debugged a bit with @pbozin . The title of this issue might not be accurate. It is probably unrelated to kafka, but possibly only shows there:

  1. Signed up a new user and got logged in automatically to the API
  2. Logged in to API Explorer -> 0 accounts
  3. Logged out of API Explorer and API
  4. Logged back in to API Explorer and API via API Explorer -> 1 account

Petar suspects that signup doesn't update views and the bug is in AuthUser.scala

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start in AuthUser.scala and reproduce the reported signup and API Explorer login sequence: sign up, inspect the account view, log out, then log back in. Compare the views before and after reauthentication; done means a newly signed-up user can see the expected account without logging out and back in.

Written by the indexing model from the issue text.

Assessment

Tech stack
scala
Domain
authentication, backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.