@drmhse/sso-sdk 0.2.6 → 0.2.7
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 +13 -13
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -5,20 +5,20 @@
|
|
|
5
5
|
|
|
6
6
|
A zero-dependency, strongly-typed TypeScript SDK for the multi-tenant SSO Platform API.
|
|
7
7
|
|
|
8
|
-
|
|
8
|
+
**[View Full Documentation →](https://drmhse.com/docs/sso/)**
|
|
9
9
|
|
|
10
10
|
## Features
|
|
11
11
|
|
|
12
|
-
-
|
|
13
|
-
-
|
|
14
|
-
-
|
|
15
|
-
-
|
|
16
|
-
-
|
|
17
|
-
-
|
|
18
|
-
-
|
|
19
|
-
-
|
|
20
|
-
-
|
|
21
|
-
-
|
|
12
|
+
- **Zero Dependencies** - Built on native `fetch` API
|
|
13
|
+
- **Strongly Typed** - Complete TypeScript definitions
|
|
14
|
+
- **Framework Agnostic** - Works in any JavaScript environment
|
|
15
|
+
- **OAuth 2.0 Flows** - Support for GitHub, Google, Microsoft
|
|
16
|
+
- **Password Authentication** - Native email/password auth with MFA
|
|
17
|
+
- **Device Flow** - RFC 8628 for CLIs and headless apps
|
|
18
|
+
- **Multi-Factor Authentication** - TOTP-based 2FA with backup codes
|
|
19
|
+
- **Organization Management** - Multi-tenant with RBAC
|
|
20
|
+
- **Analytics & Audit Logs** - Track authentication and administrative actions
|
|
21
|
+
- **SAML 2.0** - Act as Identity Provider
|
|
22
22
|
|
|
23
23
|
## Installation
|
|
24
24
|
|
|
@@ -127,7 +127,7 @@ const interval = setInterval(async () => {
|
|
|
127
127
|
|
|
128
128
|
sso.setAuthToken(tokens.access_token);
|
|
129
129
|
clearInterval(interval);
|
|
130
|
-
console.log('
|
|
130
|
+
console.log('Authentication successful!');
|
|
131
131
|
} catch (error) {
|
|
132
132
|
// Continue polling...
|
|
133
133
|
}
|
|
@@ -324,7 +324,7 @@ const decoded = jwt.verify(token, publicKey, {
|
|
|
324
324
|
});
|
|
325
325
|
```
|
|
326
326
|
|
|
327
|
-
|
|
327
|
+
**[See Backend Validation Guide →](https://drmhse.com/docs/sso/api/concepts/token-validation)**
|
|
328
328
|
|
|
329
329
|
## Documentation
|
|
330
330
|
|