fix(auth): remove add to ws in user creation #5686
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Users were "created" while being added to allowed workspaces but users were created first, meaning we created users twice. I simply moved the code to pro auth-strategies so we get the expected behaviour
Created a docker image, deployed on an instance, configured auth strategies, created users and single user was created as of before it was doubled. (doubly checked by @sebburon )
If you want to try it yourself, pull effit/bp:signon docker image on docker hub
Fixes botpress/v12#1550
Closes DEV-2007