/flarum-ext-oauth-clerk

Sign in with Clerk OAuth

Primary LanguagePHPGNU General Public License v3.0GPL-3.0

Sign in With Clerk

A Flarum extension. Sign in with Clerk

Installation

Install with composer:

composer require umhelper/oauth-clerk:"*"

Updating

composer update umhelper/oauth-clerk
php flarum cache:clear

Configuration

Once enabled, this extension will add a Clerk option to the settings page of fof/oauth. Toggle Clerk on, and hit the configure icon.

Follow the Clerk documentation

You can use Postman to set up an OAuth application by sending the requests following the documentation.

It is imperitive that you grant the following scopes to your new application at Clerk:

  • email
  • profile

Set the callback URL as given in the extension settings.

Enter the Client ID and Client Secret as displayed in the Basic Information page at Clerk into the Flarum configuration.

Enjoy logging in with your Clerk credentials!

Links