A Flarum extension. Sign in with Clerk
Install with composer:
composer require umhelper/oauth-clerk:"*"
composer update umhelper/oauth-clerk
php flarum cache:clear
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!