@aiquants/auth-react-router 0.28.0 → 0.30.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -41,7 +41,7 @@ import { createAuthServer } from "@aiquants/auth-react-router/server"
41
41
  export const authServer = createAuthServer({
42
42
  google: { clientId: env.GOOGLE_CLIENT_ID, clientSecret: env.GOOGLE_CLIENT_SECRET, redirectURI: env.GOOGLE_OAUTH_REDIRECT_URL },
43
43
  session: { secrets: [env.REMIX_SESSION_SECRET] },
44
- isEmailAllowed: emailDomainAllowlist(parseAllowlistCsv(env.ALLOWED_EMAILS), parseAllowlistCsv(env.ALLOWED_DOMAINS)),
44
+ isEmailAllowed: emailDomainAllowlist(parseAllowlistCsv(env.AUTHZ_ALLOWED_EMAILS), parseAllowlistCsv(env.AUTHZ_ALLOWED_DOMAINS)),
45
45
  isUserActive: async (profile) => isAccountEnabled(profile), // optional: deactivation revokes live sessions
46
46
  sessionGeneration: { store: sessionGenerationStore }, // REQUIRED: sign-out generation store shared by every process (or false)
47
47
  backendAuth: { verify: verifyBackend, signup: (p, t) => signupBackend(p, t) }, // FastAPI verify/signup
@@ -203,7 +203,8 @@ export default () => <AuthUserAdminAppView basePath="/users" />
203
203
  element around it: the label of the visually hidden "create from" radios and of the "members only" checkbox. The two
204
204
  upstream-group pickers keep the 44 px targets of `@aiquants/select-box` itself. Rows grow to hold their actions; on
205
205
  a narrow screen the toolbars and the tabs wrap, the tables scroll sideways, and a dialog taller than the screen
206
- scrolls with its backdrop.
206
+ scrolls with its backdrop. The fields of the directory link form shrink to the width of the form's row, so the page
207
+ never scrolls sideways, even at 400 % zoom (a viewport 320 to 360 CSS px wide).
207
208
  - **Text size**: the names of the row actions, of the links to a group's members and of the pressable "create from"
208
209
  and "members only" labels are set in the `body` step (13 px on a 20 px line), and the permission badge of the header
209
210
  and its pills in the `caption` step (11 px on a 20 px line); no text of the package is smaller than `caption`. A