@aiquants/auth-react-router 0.28.0 → 0.29.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 +3 -2
- package/package.json +7 -7
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.
|
|
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
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aiquants/auth-react-router",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.29.0",
|
|
4
4
|
"description": "React Router v7 / v8 auth adapter for @aiquants/auth-core: Google OAuth strategy factory (remix-auth), cookie session storage with DI test backdoor, a loader guard that authenticates at most once per request (token refresh + photo cache), auth route handlers, and a <GoogleForm> login button.",
|
|
5
5
|
"sideEffects": [
|
|
6
6
|
"**/*.css"
|
|
@@ -55,9 +55,9 @@
|
|
|
55
55
|
},
|
|
56
56
|
"devDependencies": {
|
|
57
57
|
"@aiquants/auth-core": "0.6.1",
|
|
58
|
-
"@aiquants/fuzzy-search": "3.2.
|
|
59
|
-
"@aiquants/select-box": "0.
|
|
60
|
-
"@aiquants/virtualscroll": "3.22.
|
|
58
|
+
"@aiquants/fuzzy-search": "3.2.1",
|
|
59
|
+
"@aiquants/select-box": "0.21.0",
|
|
60
|
+
"@aiquants/virtualscroll": "3.22.1",
|
|
61
61
|
"@tailwindcss/cli": "^4.1.18",
|
|
62
62
|
"@testing-library/react": "^16.3.2",
|
|
63
63
|
"@types/node": "^25.9.1",
|
|
@@ -77,9 +77,9 @@
|
|
|
77
77
|
},
|
|
78
78
|
"peerDependencies": {
|
|
79
79
|
"@aiquants/auth-core": "^0.6.1",
|
|
80
|
-
"@aiquants/fuzzy-search": "^3.2.
|
|
81
|
-
"@aiquants/select-box": "^0.
|
|
82
|
-
"@aiquants/virtualscroll": "^3.22.
|
|
80
|
+
"@aiquants/fuzzy-search": "^3.2.1",
|
|
81
|
+
"@aiquants/select-box": "^0.21.0",
|
|
82
|
+
"@aiquants/virtualscroll": "^3.22.1",
|
|
83
83
|
"react": ">=18",
|
|
84
84
|
"react-dom": ">=18",
|
|
85
85
|
"react-icons": ">=5",
|