PHP code example of flatrate / wiki-supabase-oauth

1. Go to this page and download the library: Download flatrate/wiki-supabase-oauth library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

flatrate / wiki-supabase-oauth example snippets

text
FORUM_SSO_SHARED_SECRET=<at-least-32-random-characters>
text
response_type=code
code_challenge=<non-empty value>
code_challenge_method=S256
text
https://forum.flatrate.wiki/auth/flatrate?linkTo=<FLARUM_USER_ID>
bash
composer install --no-interaction --prefer-dist --working-dir=test/harness/mariadb-migration
php test/member-profile-mariadb-migration.php
bash
bash test/harness/flarum-spa-1.8.19/bin/bootstrap.sh
php -S 127.0.0.1:8080 -t test/harness/flarum-spa-1.8.19/.work/flarum/public test/harness/flarum-spa-1.8.19/.work/flarum/router.php
# in another shell
cd test/harness/flarum-spa-1.8.19 && npm install && npx playwright install chromium && npx playwright test