diff --git a/.llms-snapshots/llms-full.txt b/.llms-snapshots/llms-full.txt index b205c04e..c19a07d8 100644 --- a/.llms-snapshots/llms-full.txt +++ b/.llms-snapshots/llms-full.txt @@ -917,7 +917,7 @@ The built-in authentication feature allows developers to ban or unban users with **Note:** -A ban is not a deletion. The user’s authentication entry remains in the system, and they can be unbanned at any time. +A ban is not a deletion. The user's authentication entry remains in the system, and they can be unbanned at any time. ### How to Ban a User @@ -932,6 +932,34 @@ Once banned, the user will not be able to sign in, create, update, or delete dat ![A screenshot of the Juno Console's Authentication section, displaying the user management interface with options to ban or unban users](/assets/images/user-management-ban-90535848bf31b97659d5fecd4e4d54f1.webp) +--- + +## Setup + +The Authentication tab in the Console (or the CLI config) lets you customize how users sign in to your app and who's allowed to access it. Here are the available options: + +--- + +### Main Domain ("Derivation Origin") + +This setting helps you control how users are identified when signing in with Internet Identity. It makes sure users get the same identity across different domains or subdomains of your app. + +For example, if you set it to "hello.com", a user signing in at [https://hello.com](https://hello.com) will receive the same identifier (principal) as when signing in at [https://www.hello.com](https://www.hello.com). In other words, the user will be recognized as the same person. + +This is useful because, by design, it creates a different identity for each domain to protect user privacy and prevent tracking. + +Use this if your app runs on multiple subdomains and you want a consistent user experience. + +--- + +### Max Updates Per Minute + +This lets you limit how many new users can sign up per minute. It's helpful to prevent abuse or unexpected spikes (like bots flooding your app). + +For example, setting this to `10` means only `10` new users can be created per minute. + +Default is `100`. + # Collections You can create or update a collection in the "Collections" tab in Juno's console under the [datastore](https://console.juno.build/datastore) view. diff --git a/docs/build/authentication/management.md b/docs/build/authentication/management.md index 41b6ae64..c43676e1 100644 --- a/docs/build/authentication/management.md +++ b/docs/build/authentication/management.md @@ -10,7 +10,7 @@ The built-in authentication feature allows developers to ban or unban users with :::note -A ban is not a deletion. The user’s authentication entry remains in the system, and they can be unbanned at any time. +A ban is not a deletion. The user's authentication entry remains in the system, and they can be unbanned at any time. ::: @@ -26,3 +26,31 @@ To ban a user, follow these steps: Once banned, the user will not be able to sign in, create, update, or delete data in Datastore or Storage. ![A screenshot of the Juno Console's Authentication section, displaying the user management interface with options to ban or unban users](../../img/satellite/user-management-ban.webp) + +--- + +## Setup + +The Authentication tab in the Console (or the CLI config) lets you customize how users sign in to your app and who's allowed to access it. Here are the available options: + +--- + +### Main Domain ("Derivation Origin") + +This setting helps you control how users are identified when signing in with Internet Identity. It makes sure users get the same identity across different domains or subdomains of your app. + +For example, if you set it to "hello.com", a user signing in at https://hello.com will receive the same identifier (principal) as when signing in at https://www.hello.com. In other words, the user will be recognized as the same person. + +This is useful because, by design, it creates a different identity for each domain to protect user privacy and prevent tracking. + +Use this if your app runs on multiple subdomains and you want a consistent user experience. + +--- + +### Max Updates Per Minute + +This lets you limit how many new users can sign up per minute. It's helpful to prevent abuse or unexpected spikes (like bots flooding your app). + +For example, setting this to `10` means only `10` new users can be created per minute. + +Default is `100`.