# sashido-parse-server-microsoft-auth-adapter

> Authenticate to parse server with Microsoft

Latest version **1.0.1** (published 2022-03-07) · MIT license · 0 weekly downloads

## Install

```sh
npm install sashido-parse-server-microsoft-auth-adapter
pnpm add sashido-parse-server-microsoft-auth-adapter
yarn add sashido-parse-server-microsoft-auth-adapter
bun add sashido-parse-server-microsoft-auth-adapter
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.1 |
| Published | 2022-03-07 |
| First published | 2022-03-07 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 3.1 KB |
| Known vulnerabilities | 0 (+2 in 1 direct dependencies) |
| Install scripts | no |
| Author | SashiDo Team |
| Maintainers | pivanov |
| Keywords | parse, parse-server, microsoft, auth |

## Links

- npm: https://www.npmjs.com/package/sashido-parse-server-microsoft-auth-adapter
- npm.io page: https://npm.io/package/sashido-parse-server-microsoft-auth-adapter

## Dependencies (1)

- [parse](https://npm.io/package/parse.md) ^2.11.0

## Alternatives

- [@pothos/plugin-authz](https://npm.io/package/@pothos/plugin-authz.md) — 12.4K weekly downloads
- [@bounded-sh/client](https://npm.io/package/@bounded-sh/client.md) — 3.2K weekly downloads
- [@luigi-project/plugin-auth-oauth2](https://npm.io/package/@luigi-project/plugin-auth-oauth2.md) — 2.3K weekly downloads
- [@nocobase/plugin-verification](https://npm.io/package/@nocobase/plugin-verification.md) — 2.0K weekly downloads
- [escher-request](https://npm.io/package/escher-request.md) — 545 weekly downloads

## Recent versions

- 1.0.1 (latest) — 2022-03-07
- 1.0.0 — 2022-03-07

## README

# sashido-parse-server-microsoft-auth-adapter

Authenticate to parse server with Microsoft

## How to use it?

### 1) Install the module

```js
npm i -S sashido-parse-server-microsoft-auth-adapter
```

### 2) Add this module when creating `ParseServer`

```js
import { ParseServer } from 'parse-server'
import authMicrosoft from 'sashido-parse-server-microsoft-auth-adapter'
...
const parserServer = new ParseServer({
  ...
  auth: {
    microsoft: authMicrosoft
  }
})
```

### 3) Using Firebase access token in our project

- Get Parse access token by POST a raw data to `/1/users`

```sh
curl -X POST \
  {{API_ENDPOINT}}/1/users \
  -H 'content-type: application/json' \
  -H 'x-parse-application-id: {{APP_ID}}' \
  -d '{
    "authData": {
    	"microsoft": {
    		"token": "{{TOKEN}}",
    		"id": "{{ID}}"
    	}
    }
}'
```

---
_Source: https://npm.io/package/sashido-parse-server-microsoft-auth-adapter · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
