rokwire / rokwire/groups-building-block
[BUG] User records not created for new Core BB users
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 1
- Forks
- 1
- PR merge metrics
- No merged PRs in 30d
Description
Describe the bug
Currently when a Core BB user uses the Groups BB for the first time we are not creating a record in the users collection as expected. This will likely cause issues with our implementation of the managed grroup synchronization.
To Reproduce
Steps to reproduce the behavior:
- Create empty databse
- Run Groups BB
- Login with Core BB token
- See that no user record was created
Expected behavior
When a user uses the groups BB for the first time we should create a user record for them to store their Core BB account data.
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 tracing the Groups BB login flow for a Core BB token and the code that writes to the users collection. Reproduce the empty-database steps in the issue, then verify that a first-time user receives a record containing their Core BB account data.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- authentication, backend, database
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100