From 154cc5f53287a249fbabe631980d12ec937edc15 Mon Sep 17 00:00:00 2001 From: David Dal Busco Date: Sat, 26 Jul 2025 15:17:06 +0200 Subject: [PATCH 1/2] docs: authentication setup Signed-off-by: David Dal Busco --- docs/build/authentication/management.md | 30 ++++++++++++++++++++++++- 1 file changed, 29 insertions(+), 1 deletion(-) 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`. From 3be195cfd224fe388ee093c82f604955d52994d8 Mon Sep 17 00:00:00 2001 From: github-actions <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 26 Jul 2025 13:18:42 +0000 Subject: [PATCH 2/2] =?UTF-8?q?=F0=9F=93=84=20Update=20LLMs.txt=20snapshot?= =?UTF-8?q?=20for=20PR=20review?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .llms-snapshots/llms-full.txt | 30 +++++++++++++++++++++++++++++- 1 file changed, 29 insertions(+), 1 deletion(-) 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.