Installation
Install with composer:
composer require gbcl/oauth-logto:"*"
Updating
composer update gbcl/oauth-logto
php flarum cache:clear
Configuration
Once enabled, this extension will add a Logto
option to the settings page of fof/oauth
. Toggle Logto
on, and hit the configure icon.
Created an Traditional Web
Application on Authentication > Applications > Create Application
Set the Redirect URIs
labels to https://your-flarum/auth/logto
,
then, copy three things in the settings:
- Logto endpoint
- App secrets > Default secret > value
- App ID
Paste the stuff above to the settings page of fof/oauth
. One thing you need to notice that the logto_domain
label needs to exclude the HTTP Protocol.
Full Changelog: https://github.com/GBCLStudio/flarum-oauth-logto/commits/1.0