Socket
Socket
Sign inDemoInstall

@capacitor-community/apple-sign-in

Package Overview
Dependencies
4
Maintainers
42
Versions
17
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @capacitor-community/apple-sign-in

Capacitor Sign in with Apple


Version published
Weekly downloads
9.2K
decreased by-9.31%
Maintainers
42
Install size
765 kB
Created
Weekly downloads
 

Readme

Source

Capacitor Sign in With Apple

All Contributors

Capacitor plugin to support Sign in With Apple

:rotating_light: This plugin is for Capacitor 5 :rotating_light:

Capacitor 4 users can use version 4.x

Capacitor 3 users can use version 1.x

Capacitor 2 users can use version 0.2.0

Maintainers

MaintainerGitHubSocialSponsoring Company
Max Lynchmlynch@maxlynchIonic
Jose "Pilito" Martinezepicshaggy@pilito_he
Laszlo Csokalcsoka

Maintenance Status: Partially Maintained (help wanted)

Installation

  • npm i @capacitor-community/apple-sign-in
  • npx cap update

Usage (iOS, Web)

import {
  SignInWithApple,
  SignInWithAppleResponse,
  SignInWithAppleOptions,
} from '@capacitor-community/apple-sign-in';

let options: SignInWithAppleOptions = {
  clientId: 'com.your.webservice',
  redirectURI: 'https://www.yourfrontend.com/login',
  scopes: 'email name',
  state: '12345',
  nonce: 'nonce',
};

SignInWithApple.authorize(options)
  .then((result: SignInWithAppleResponse) => {
    // Handle user information
    // Validate token with server and create new session
  })
  .catch(error => {
    // Handle error
  });

Instructions (Android)

Not supported.

Contributors ✨

Thanks goes to these wonderful people (emoji key):


Masahiko Sakakibara

💻

Pilito

💻

lcsoka

💻

This project follows the all-contributors specification. Contributions of any kind welcome!

Keywords

FAQs

Last updated on 26 Apr 2024

Did you know?

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc