rokwire / rokwire/groups-building-block

[BUG] User records not created for new Core BB users

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

Nobody has claimed this yet.

bug
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:

  1. Create empty databse
  2. Run Groups BB
  3. Login with Core BB token
  4. 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

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 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.