7.0.1 • Published 1 year ago

@capacitor-community/apple-sign-in v7.0.1

Weekly downloads
1,962
License
MIT
Repository
github
Last release
1 year ago

Capacitor Sign in With Apple

Capacitor plugin to support Sign in With Apple

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.

7.0.0

1 year ago

7.0.1

1 year ago

6.0.0

2 years ago

5.0.0

3 years ago

4.0.0

4 years ago

4.0.0-0

4 years ago

1.0.1

5 years ago

0.2.0

5 years ago

0.1.2

5 years ago

0.1.1

5 years ago

0.0.13

5 years ago

0.0.14

5 years ago

1.0.0

5 years ago

0.0.12

6 years ago

0.0.11

6 years ago

0.0.10

6 years ago

0.0.9

6 years ago

0.0.8

6 years ago

0.0.7

6 years ago