Skip to content

8thwall/google-auth-yourls

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 

google-auth-yourls

Enables Google Authentication for YOURLS

Proper documentation coming soon.

For now, here is the very rough documentation:

  1. Download the plugin, move contents to plugins directory and rename to google-auth/
  2. Download and configure Google APIs Client Library for PHP
  3. Create an OAuth 2.0 client ID, and download the resulting JSON file (client_secrets.json)
  4. This plugin allows you to filter access based on domain (i.e. only @mydomain.com addresses)
    • Edit define('APPROVED_DOMAIN', "mydomain.com");
    • If you want anyone with a Google account to get in (you probably don't want that), set to *
      • i.e. define('APPROVED_DOMAIN', "*");

About

Enables Google Authentication for YOURLS

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages