Support signing up with organization membership #905
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.
🔧 Changes
is_signup_enabled
is added to the organization connections.🔬 Testing
Create a
config.json
file similar to:Use the following commands to
import
orexport
configs.Export yaml:
node lib/index.js export -c config.json -o ./local -f yaml
Import yaml:
node lib/index.js import -c config.json --input_file ./local/tenant.yaml
is_signup_enabled
is exported.is_signup_enabled
is imported on creation.is_signup_enabled
changes to existing enabled connections are detected and it is updated.Important use-cases related to this change:
is_signup_enabled
is valid only when thestrategy
isauth0
. i.eis_signup_enabled
will not available in non db connections.is_signup_enabled
can be set totrue
only whenassign_membership_on_login
is settrue
. However, you can setis_signup_enabled
tofalse
whenassign_membership_on_login
is set tofalse
.Continue the same test or json format as well.
🔬 Change Verification
is_signup_enabled
property value can be manipulated and changes can be seen on the auth0 dashboard.📝 Checklist