Socket
Socket
Sign inDemoInstall

@capacitor-community/apple-sign-in

Package Overview
Dependencies
2
Maintainers
34
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
12K
increased by7.5%
Maintainers
34
Install size
887 kB
Created
Weekly downloads
 

Readme

Source

Capacitor Sign in With Apple

All Contributors

All Contributors

Capacitor plugin to support Sign in With Apple

Maintainers

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

Maintenance Status: Partially Maintained (help wanted)

Installation

  • npm i @capacitor-community/apple-sign-in

Usage (iOS, Web)

import { Plugins, registerWebPlugin } from "@capacitor/core";
import {
  SignInWithApple,
  SignInWithAppleResponse,
  SignInWithAppleOptions,
} from "@capacitor-community/apple-sign-in";

registerWebPlugin(SignInWithApple);

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

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

Instructions (Android)

In development.

Contributors ✨

Thanks goes to these wonderful people (emoji key):


Masahiko Sakakibara

💻

Pilito

💻

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

Keywords

FAQs

Last updated on 17 Sep 2021

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