@authowl/react 0.15.0 → 0.16.1

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
@@ -1,5 +1,9 @@
1
1
  # @authowl/react
2
2
 
3
+ **[Complete SDK guide](https://authowl.dev/docs/sdks/react)** ·
4
+ **[React quickstart](https://authowl.dev/docs/getting-started/quickstart-react)** ·
5
+ **[Error handling](https://authowl.dev/docs/sdks/errors)**
6
+
3
7
  React provider, hooks, and drop-in components for [AuthOwl](https://authowl.dev),
4
8
  the multi-tenant auth service. Publishable-key based, zero CSS setup.
5
9
 
@@ -51,6 +55,14 @@ link or code email verification, passkey registration, email changes, account
51
55
  deletion, and TOTP backup-code availability. Existing credentials remain
52
56
  manageable even when creating another credential of that type is disabled.
53
57
 
58
+ Built-in controls use AuthOwl gold (`#F5B84C`) by default. A project color set
59
+ in the dashboard replaces it automatically, and an explicit provider override
60
+ wins over the project setting:
61
+
62
+ ```tsx
63
+ <AuthOwlProvider appearance={{ primaryColor: '#0EA5A4' }} {...config} />
64
+ ```
65
+
54
66
  When phone OTP is enabled, `<SignIn />` adds the localized phone flow automatically.
55
67
  `<PhoneOTP />` is also available as a standalone surface. Production hosts must allow
56
68
  Cloudflare Turnstile's challenge script in their Content Security Policy. Local and CI
@@ -72,7 +84,8 @@ safe to embed in client code. Durable session tokens live only in `HttpOnly` +
72
84
  `Secure` + `SameSite=None` cookies. `useSession()` and `<UserProfile />` use
73
85
  token-free session ids and safe device metadata.
74
86
 
75
- See the full integration guide in the AuthOwl app repo (`INTEGRATION.md`).
87
+ See the [complete React guide](https://authowl.dev/docs/sdks/react) for provider
88
+ configuration, hooks, component contracts, localization, theming, and errors.
76
89
 
77
90
  ## License
78
91