* Allow auth plugins to redirect to external url
Add a new optional field to `RegisterServerExternalAuthenticatedResult`,
the object passed to the `userAuthenticated` callback used by auth plugins.
The server code uses this to redirect to an external website if it is set.
Left TODO:
- This code has been tested manually but a test case is still missing.
- Here or in the plugin, the redirect urls must be limited to values configurable by admins.
* rename to URI for consistency
* add test for the new parameter
* address review comments
- correct syntax for optional parameter
- handle the case where `externalAuthToken` has query parameters included
* feat(API): permissive email check in reset & verification
In order to not force users to be case sensitive when asking for
password reset or resend email verification. When there's multiple
emails where the only difference in the local is the capitalized
letters, in those cases the users has to be case sensitive.
closes#6570
* feat(API/login): permissive email handling
Allow case insensitive email when there's no other candidate.
closes#6570
* code review changes
* Fix tests
* Add more duplicate email checks
---------
Co-authored-by: Chocobozzz <me@florianbigard.com>
* feat: plugin support to filter email addresses
Add support for plugins to filter user email addresses.
* Add missing `totalNotDeletedComments` doc
* Styling
---------
Co-authored-by: Chocobozzz <me@florianbigard.com>