@pelican-identity/auth-core 1.2.8 → 1.2.10
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 +0 -13
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -13,11 +13,6 @@ The Vanilla SDK provides a framework-agnostic way to integrate Pelican authentic
|
|
|
13
13
|
Ideal for projects without a build step. Includes the UI and logic in a single file.
|
|
14
14
|
|
|
15
15
|
```html
|
|
16
|
-
<link
|
|
17
|
-
rel="stylesheet"
|
|
18
|
-
href="https://cdn.jsdelivr.net/npm/@pelican-identity/vanilla@1.0.2/dist/pelican.css"
|
|
19
|
-
/>
|
|
20
|
-
|
|
21
16
|
<script src="https://cdn.jsdelivr.net/npm/@pelican-identity/vanilla@1.0.2/dist/index.min.js"></script>
|
|
22
17
|
|
|
23
18
|
<div id="pelican-auth-root"></div>
|
|
@@ -44,7 +39,6 @@ npm install @pelican-identity/vanilla
|
|
|
44
39
|
|
|
45
40
|
```typescript
|
|
46
41
|
import { createPelicanAuth } from "@pelican-identity/vanilla";
|
|
47
|
-
import "@pelican-identity/vanilla/dist/pelican.css";
|
|
48
42
|
|
|
49
43
|
const cleanup = createPelicanAuth("container-id", {
|
|
50
44
|
publicKey: "...",
|
|
@@ -164,11 +158,4 @@ interface IdentityResult {
|
|
|
164
158
|
**Cause:** The engine might be in `initializing` state or the domain isn't whitelisted.
|
|
165
159
|
**Fix:** Check your Pelican Dashboard and ensure your current domain (including port if applicable) is added to the project whitelist.
|
|
166
160
|
|
|
167
|
-
### Styles not applying
|
|
168
|
-
|
|
169
|
-
**Cause:** The CSS file is missing.
|
|
170
|
-
**Fix:** If using NPM, ensure you import `@pelican-identity/vanilla/dist/pelican.css`. If using the CDN `.min.js` version with `injectStyle: true`, this should be automatic.
|
|
171
|
-
|
|
172
|
-
---
|
|
173
|
-
|
|
174
161
|
**Would you like me to help you create a "Getting Started" guide specifically for the Pelican Dashboard setup to complement this SDK documentation?**
|