parse-server-mural-auth-adapter

1.0.3 • Public • Published

Parse-server-mural-auth-adapter

Authenticate to parse server with your Mural account

How to use it?

1) Install the module

yarn add parse-server-mural-auth-adapter

2) Add this module when creating ParseServer

import { ParseServer } from 'parse-server'
import muralAuthAdapter from 'parse-server-mural-auth-adapter'
...
const parserServer = new ParseServer({
  ...
  auth: {
    mural: muralAuthAdapter
  }
})

4) Using Mural access token in our project

  • Get Parse access token by POST a raw data to /parse/users
curl -X POST \
  {{host}}/parse/users \
  -H 'content-type: application/json' \
  -H 'x-parse-application-id: {{ParseAppId}}' \
  -d '{
    "authData": {
    	"mural": {
    		"access_token": "{{access_token}}",
    		"id": "{{MuralUID}}"
    	}
    }
}'

Readme

Keywords

Package Sidebar

Install

npm i parse-server-mural-auth-adapter

Weekly Downloads

15

Version

1.0.3

License

ISC

Unpacked Size

2.5 kB

Total Files

3

Last publish

Collaborators

  • alfredtakala