Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lookinlab/adonis-ally-yandex
A driver of AdonisJS Ally for Yandex
https://github.com/lookinlab/adonis-ally-yandex
adonis-ally adonis-ally-yandex adonis-yandex adonisjs
Last synced: 3 months ago
JSON representation
A driver of AdonisJS Ally for Yandex
- Host: GitHub
- URL: https://github.com/lookinlab/adonis-ally-yandex
- Owner: lookinlab
- License: mit
- Created: 2021-08-11T15:41:23.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2021-08-11T18:24:05.000Z (about 3 years ago)
- Last Synced: 2024-07-26T23:44:23.076Z (3 months ago)
- Topics: adonis-ally, adonis-ally-yandex, adonis-yandex, adonisjs
- Language: TypeScript
- Homepage:
- Size: 6.84 KB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
- awesome-adonisjs - AdonisJS Ally Yandex - A driver of AdonisJS Ally for Yandex (Packages)
README
# Adonis Ally Yandex Driver
A driver of AdonisJS Ally for Yandex
## Installation
Make sure to install it using `npm` or `yarn`.
```bash
# npm
npm i adonis-ally-yandex
node ace configure adonis-ally-yandex# yarn
yarn add adonis-ally-yandex
node ace configure adonis-ally-yandex
```Open a `instructions.md` file after configure
## Usage
Make sure to register the provider inside `.adonisrc.json` file.
```json
{
"providers": [
"...other packages",
"adonis-ally-yandex"
]
}
```For TypeScript projects add to `tsconfig.json` file:
```json
{
"compilerOptions": {
"types": [
"...other packages",
"adonis-ally-yandex"
]
}
}
```More about [AdonisJS Ally](https://docs.adonisjs.com/guides/auth/social) and as usage this driver
## An available configuration options
```ts
const allyConfig: AllyConfig = {
// ... other drivers
yandex: {
// ... configdisplay: 'popup',
optionalScopes: ['login:birthday', '...other'],
forceConfirm: true
},
}
```