PHP code example of unsc1419 / skynet-auth

1. Go to this page and download the library: Download unsc1419/skynet-auth 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/ */

    

unsc1419 / skynet-auth example snippets


  # SeAT Plugins
  # This is a list of the all of the third party plugins that you
  # would like to install as part of SeAT. Package names should be
  # comma seperated if multiple packages should be installed.

  SEAT_PLUGINS=UNSC1419/skynet-auth
  ....
  ....
  # ---------------------------
  # 添加SkynetAuth配置段
  # ---------------------------
  SKYNETAUTH_SSOBACK_URL=https://auth.domain.tld/auth/seat/callback # auth登录回调url