This plugin hasn’t been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Plugin Name: Glitch Authenticator

Description

Glitch Authenticator is not endorsed by or affiliated with Tiny Speck, Inc., the makers of Glitch, in any way.

Features

  • allows users to login with their Glitch.com account
  • displays Glitch avatars in comments

You will need to generate an API key for your site.

Hooks for Customisation

  1. apply_filters('glitchauth_display_login', $glitchLoginButton) – customise the Login with Glitch button
  2. apply_filters('glitchauth_loginmessage', $message, $error, $error_description) – customise the login error message
  3. do_action('glitchauth_new_user', $obj) – new user
  4. do_action('glitchauth_returning_user', $obj) – returning user
  5. apply_filters('glitchauth_comment_avatar_size', $avatarSize) – Change avatar size displayed in comments. Options are: ’50’ (default), ‘100’, ‘172’

Theme Integration

To generate a Glitch login button for your theme, use the glitchauth_login_url function in place of wp_login_url. Example:
< ?php
echo 'Login with Glitch’;
// Alternatively, bring the user back to current page after login by using the redirect_to param // echo ‘
get_permalink())) . ‘”>Login with Glitch‘; ?>

If in The Loop, you can use the_glitch_avatar function. Example:

To get a specific user’s Glitch Avatar, use the glitchauth_get_glitch_avatar() function. Example:
< ?php $current_user = wp_get_current_user(); echo '’; ?>

Screenshots

  • Login Screen
  • Avatars in Comments
  • API Settings

Installation

  1. For upgrading, please deactivate the plugin before uploading.
  2. Upload the whole ‘glitch-authenticator’ folder to the ‘/wp-content/plugins/’ directory
  3. Activate the plugin through the ‘Plugins’ menu in WordPress
  4. Go to Settings > Glitch Authenticator and follow the instructions for keying in your Glitch API key and secret.

FAQ

I am still waiting for questions! 😀

Contributors & Developers

“Plugin Name: Glitch Authenticator” is open source software. The following people have contributed to this plugin.

Changelog

0.7

  • Support redirect_to (see Theme Integration)

0.6

  • Fixes
  • Add support for minimum Glitch level for login (for spam control)
  • Ability to block users from logging in by removing roles.

0.5

First release