blessing/flarum-oauth-client

OAuth2 client of Blessing Skin for Flarum.

Installs: 197

Dependents: 0

Suggesters: 0

Security: 0

Stars: 4

Watchers: 1

Forks: 1

Open Issues: 2

Type:flarum-extension

v2.0.2 2022-02-09 09:08 UTC

This package is auto-updated.

Last update: 2023-01-09 11:27:20 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