Skip to content

beachio/mural-oauth-adapter-parse-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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": {
    		"accessToken": "{{accessToken}}",
    		"id": "{{MuralUID}}"
    	}
    }
}'

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published