sashido-parse-server-apple-auth-adapter

1.0.1 • Public • Published

sashido-parse-server-apple-auth-adapter

Authenticate to parse server with Apple

How to use it?

1) Install the module

npm i -S sashido-parse-server-apple-auth-adapter

2) Add this module when creating ParseServer

import { ParseServer } from 'parse-server'
import authApple from 'sashido-parse-server-apple-auth-adapter'
...
const parserServer = new ParseServer({
  ...
  auth: {
    apple: authApple
  }
})

3) Using Firebase access token in our project

  • Get Parse access token by POST a raw data to /1/users
curl -X POST \
  {{API_ENDPOINT}}/1/users \
  -H 'content-type: application/json' \
  -H 'x-parse-application-id: {{APP_ID}}' \
  -d '{
    "authData": {
     "apple": {
     "token": "{{TOKEN}}",
     "id": "{{ID}}"
     }
    }
}'

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.1
    0
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.1
    0
  • 1.0.0
    0

Package Sidebar

Install

npm i sashido-parse-server-apple-auth-adapter

Weekly Downloads

0

Version

1.0.1

License

MIT

Unpacked Size

3.95 kB

Total Files

3

Last publish

Collaborators

  • mignev
  • pivanov