simonchan / flarum-oauth-client
OAuth2 client of Blessing Skin for Flarum New 1.0.4.
Installs: 2
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Type:flarum-extension
Requires
- flarum/core: ^0.1.0-beta.15
- league/oauth2-client: ^2.3.0
This package is auto-updated.
Last update: 2024-04-24 14:47:47 UTC
README
This Flarum extension lets you login with Blessing Skin account.
This extension is a fork of
fof/passport
.
Installation
Run Composer:
composer require blessing/flarum-oauth-client
Configuration
In the extension settings, you have to fill the following data:
Setting | Example | Description |
---|---|---|
Blessing Skin base URL | https://example.com/ |
<your blessing skin>/ |
OAuth application id | 1 |
The integer Client ID you've made in the Blessing Skin |
OAuth application secret | abcdefghijABCDEFGHIJabcdefghijABCDEFGHIJ |
The Client secret provided by Blessing Skin once you created the OAuth client |
Label for login button | Login with Blessing Skin | Label to place on the login button |
Icon for login button | far fa-id-card |
FontAwesome icon to place on the login button. |
Hint: When creating the OAuth client in Blessing Skin, don't forget to set the redirect
value to <your flarum install>/auth/blessing
.
Full tutorial can be found: Working with Flarum.
License
MIT License