Socket
Socket
Sign inDemoInstall

react-apple-login

Package Overview
Dependencies
0
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    react-apple-login

A Apple Log-in Component for React


Version published
Maintainers
1
Created

Readme

Source

react-apple-login

A Apple Log-in Component for React

NPM JavaScript Style Guide

Install

npm install --save react-apple-login

Usage

import * as React from 'react'

import AppleLogin from 'react-apple-login'

class Example extends React.Component {
  render () {
    return (
      <AppleLogin clientId="com.react.apple.login" scope="name email" redirectURI="https://redirectUrl.com" state="" />
    )
  }
}

Login Props

paramsvaluedefault valuedescription
clientIdstringREQUIREDYou can create a clientID from Apple Developer console
scopestringname email
redirectURIstringREQUIRED
statestring-
dataColorstringblack
dataBorderboolean/stringfalse
dataTypestring(sign in/continue)sign in
classNamestring-

Production Bundle

npm run prepare

License

MIT © Mayank Patel

Keywords

FAQs

Last updated on 02 Nov 2019

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