feat: allow to set auth id with api #125
Open
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.
Hi Julian!
We want to create users with API in before they log in, so their profile is set up correctly and we have a full control.
I wasn't able to change my
authId
via API, so I needed to tweak the plugin.I checked the code I know that users can log in with email, but it might be unverified. And we want to set users profile and avatar before the user logs in. And finally, this is how we do it with the session sharing plugin, so it would be great to it in the same way.
If there is a way how to do this using API without this code, please let me know (but we are using v3.7).
Thank you for all the awesome work you do on NodeBB,
Tomas