🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

react-sign-in-apple

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

react-sign-in-apple

Sign in with Apple component for react

latest
Source
npmnpm
Version
1.1.4
Version published
Weekly downloads
13
30%
Maintainers
1
Weekly downloads
 
Created
Source

react-sign-in-apple

React Component for Sign in with Apple

NPM

Install

npm install --save react-sign-in-apple

Usage

import React from 'react'

import { AppleLogin } from 'react-sign-in-apple'

const AppleLoginComponent = () => {
  return (
    <AppleLogin
      clientId="[clientId]"
      redirectURI="[redirectURI]"
      onSuccess={console.log}
      onFailure={console.error}
      render={({ onClick }) => (
        <button onClick={onClick}>Sign in with Apple</button>
      )}
    />
  )
}

Additional Info

See link for docs on Sign in with Apple

License

MIT © Akshit Kr Nagpal

Keywords

apple

FAQs

Package last updated on 29 Jul 2020

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