authorizer
authorizer copied to clipboard
Add integration test for roles update
Feature Description
Updating the role can block signup, login other auth recipes. It's critical to add test and validate functionality
Describe the solution you'd like
Test to be included.
- Validate signup with the new role (it should fail as the new role is not yet added)
- Validate login with the new role (it should fail as the new role is not yet added)
- Validate magic link login with the new role (it should fail as the new role is not yet added)
- Validate social media login with the new role (it should fail as the new role is not yet added)
- Update env with new roles
- Retry all the validation tests mentioned above and they should pass.
Describe alternatives you've considered
Additional context