Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

kinde-capacitor-plugin

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

kinde-capacitor-plugin

Kinde Auth plugin for Capacitor

latest
Source
npmnpm
Version
0.0.15
Version published
Maintainers
1
Created
Source

Kinde Capacitor Plugin

Capacitor plugin for Kinde Authentication

Install

npm install kinde-capacitor-plugin

iOS Configuration

  • Add to your capacitor.config.json:
"plugins": {
  "kindeAuth": {
    "domain": "plantquest.kinde.com",
    "clientId": "example-client-id",
    "redirectUri": "pqjnjih://callback"
  }
}
  • Add URL scheme to your iOS app's Info.plist:
<key>CFBundleURLTypes</key>
<array>
    <dict>
        <key>CFBundleURLSchemes</key>
        <array>
            <string>pqjnjih</string>
        </array>
    </dict>
</array>

Usage

typescript

import { KindeAuth } from 'kinde-capacitor-plugin';
// Login
await KindeAuth.login();
// Get user details
const { user, error } = await KindeAuth.getUserDetails();
// Check if user is authenticated
const { isAuthenticated } = await KindeAuth.isAuthenticated();
// Logout
await KindeAuth.logout();

Keywords

capacitor

FAQs

Package last updated on 20 Nov 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts