PHP code example of igonics / laravel-disqus-sso
1. Go to this page and download the library: Download igonics/laravel-disqus-sso 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/ */
igonics / laravel-disqus-sso example snippets
var disqus_config = function () {
// The generated payload which authenticates users with Disqus
this.page.remote_auth_s3 = '{{ DisqusSSO::payload(Auth::user()) }}';
this.page.api_key = '{{ DisqusSSO::publicKey() }}';
}
var disqus_config = function () {
// The generated payload which authenticates users with Disqus
this.page.remote_auth_s3 = ' echo DisqusSSO::payload(Auth::user())