blessing/flarum-oauth-client

OAuth2 client of Blessing Skin for Flarum.

Installs: 254

Dependents: 0

Suggesters: 0

Security: 0

Stars: 6

Watchers: 1

Forks: 0

Open Issues: 2

Type:flarum-extension

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

This package is auto-updated.

Last update: 2024-04-09 14:29:14 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