Giter Club home page Giter Club logo

wp-oauth's Introduction

WP-OAuth

NEWS MAY 2015: I'd like to apologize to the contributors here for being unable to accept pull requests in a timely manner. I did not expect to be receiving so many so early on :) Just wanted to let everyone know that this project hasn't been abandoned, I'm still here and will be addressing pull requests + issues in due time. Thanks for understanding.

logo

A WordPress plugin that allows users to login or register by authenticating with an existing Google, Facebook, LinkedIn, Github, Reddit or Windows Live account via OAuth 2.0. Easily drops into new or existing sites, integrates with existing users.

WP-OAuth functions in a similar way to the StackExchange/StackOverflow login system which allows users to register or login with the least amount of steps required.

NOTE: This repository is for development purposes only. We've chosen to omit most of the README since we already have one elsewhere - visit the WordPress Plugin Directory to obtain the latest plugin version, usage instructions, and current list of features.

In this readme: Features - Requirements - Quick Start - FAQ - Roadmap - History

Features

Requirements

Quick Start

FAQ

Roadmap

  • Full compabitility with WordPress Multisite, BuddyPress, bbpress.
  • Icon sets for the login provider buttons.
  • Ability to acquire a registering user's third-party username / nickname / email address and auto-populate the WordPress user profile. Works as an alternative to the userXX naming pattern.
  • Advanced options for account merging.
  • Advanced options for account recovery.
  • More custom login forms, layouts and login screen customization options.

History

This project is a continuation of WP-OpenLogin which was originally developed with OpenID in mind. We're moving on; OAuth 2.0 is now the standard.

wp-oauth's People

Contributors

dallasepperson avatar justingreerbbi avatar larsschenk avatar perrybutler avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

wp-oauth's Issues

New user registration leaves the user on the login screen

Hi,

First of all, thank you for the plugin, it works like a charm. The only issue I have is the user experience for a user registering for the first time. After registration the user is left in the login screen with an indication that registration was successful. This is very confusing for the user. I think the plugin should redirect to the same place as defined in the settings for "Login redirects to".

Thanks,
Kosta

Malformed access token result detected

Hello

I getting this error message while accessing successful Google Auth and redirect to my homepage, than it appear in the head of the page:
Sorry, we couldn't log you in. Malformed access token result detected. Please notify the admin or try again later.

I have used Google+ Client ID and secret
I hope you can help

Add support for OpenID

I stumbled upon this plugin while looking for something that would make my wordpress blog accept OpenID for login or comment authentication. But was fuond out it only allows being authorized by corporations :(

Is there any plan to support plain OpenID ?

\cc @perrybutler

authentication issue when site is in 'coming soon mode'

I have a coming soon page activated, the plugin works when i deactivate it however when in use it doesn't authenticate. Maybe it could request the authentication function in a different way? instead from the root directory?

cvars.js is empty?

Is cvars.js actually used?

I can see the localisation of the script in wpoa_init_frontend_scripts_styles() but the file is empty when it reaches the browser even though the wpoa_cvars JS object is populated. Is this normal for WordPress script 'localisation' ? I thought the file gets populated before it hits the browser. I'm using Chrome devtools

Allow custom oauth provider

@etlund and I have began using wordpress as the public-facing site for an application; and we are hoping to allow users of the application to log in to the wordpress site with their application credentials.

We found your project and it does 95% of what we need. We're working on adding a login-generic.php that allows us to specify the application we want to use.

We hope to have a quick and dirty pull request of this up by end of day; with potentially some customizations around logo and such.

Compartibility

What is the last WP version it was tested to work with ?

Why WP oAuth reflecting my blog's IP address instead of URL in the settings page

While configuring Google+ signin, I noticed that at step 3, the plugin mentions IP Addres, not the blog URL

At Google, provide your site's homepage URL (http://128.199.85.129/) for the new Project's Redirect URI

This causes problems during login request:

Error: invalid_request

Invalid parameter value for redirect_uri: Raw IP addresses not allowed: http://128.199.85.129/

Request Details
scope=profile
response_type=code
redirect_uri=http://128.199.85.129/
state=54d398c5462b59.53885235

Can't seem to understand why IP address is being fetched. siteurl option in wp_options is set the to blog URL(which is https://barcampbangalore.org)

new account is being created instead of signing in existing user

Hello, thanks for the plugin! I justed installed and configured it and tried to login to my existing account using facebook/gmail. Both the cases It did not login into my existing account. Instead, it created new account. Is it the right functionality or am I missing something?

Restricted site

Hi!
I have restricted site and i use force login plugin to make wordpress ask login before access to site but when i click on login with facebook then nothing happend until i enter my wordpress login and pass then i get list of google accounts %)
Need some help.
I tried to disable force login plugin for test but problem still here.

Integration with WP-API

Can this plugin be used to authenticate users via the WP-API? We are using WP OAuth Server to authenticate users with username/password, but would like to add a login via facebook option. Thanks.

choiceschances.com

FYI In Version 0.4 WP-OAuth Settings Demo link references seems to have been taken over by a spam direct.

"Show Login Messages" option should default to true

When I was originally getting setup with the plugin, certain useful messages were not being displayed as I was not aware of the "show login messages" option.

If this was set to true by default, I would've received the messages and I would've been able to figure out what was going wrong and get things set up more quickly.

Feature Request for the battle.net plugin.

When a new user is signing up using the battle.net credentials the default user name is set to "userX". Is it possible to populate the username with the battle tag id:
https://us.api.battle.net/account/user/battletag?access_token=
Which returns:
{"battletag":"btagID"}

And then possibly populating "Display name publicly as" with the persons characters:
https://us.api.battle.net/wow/user/characters?access_token=

If I knew more about WordPress I might be able to do this, but I have very limited knowledge of it at this time. I will try to plug away at it, but I thought I'd ask on here as well.

Hopefully I've described the request adequately.

Thanks!

Control over username created when registering

Is it possible to control the wordpress username created when registering? In testing, registering via linkedin created the user 'user6'. In case it is relevant, I have buddypress installed and ultimately want to integrate the two. Wordpress version 4.1. Multisite enabled is enabled but I only need the plugin for one site initially.

Ultimately, I want to be able to query the linkedin API for the registered user. Is any link stored on the WP side which enables me to identify the user on LinkedIn?

Deal with Register Plus Redux

Hi guys, i'm just discovering your plugin, is kind of awesome ๐Ÿ‘

However, i found some issues when using in conjunction with Register Plus Redux.

This is the baseline

  • All users must be approved manually on register
  • All users should add a website on register (the approval depends on that website)

I added RPR for these two tasks, but with WPOA things aren't that good anymore:

  • if an user try to register with facebook, they will be redirected to auth screen, with user name pre-filled
  • there is no way of adding the website before approval (and it can't be an approval without a site)

I was thinking that it would be useful to allow one extra step after Oauth that allows all kind of wonders :)

So, what do you think?

Unable to match previous users by email

See original thread for backstory. but so far I have determined that up until this point it was intentional to not capture emails in the $oauth_identity variable, but unfortunately that means without it there is no way to match the authenticated user with an existing account by email.

Is this a feature you do not wish to have within WP-OAuth? If it is something you're willing to include I can add it today and send a PR. Let me know, thanks!

Invalid Request when getting access_token

Currently there are instances when attempting to login, that I get this error:

Sorry, we couldn't log you in. Malformed access token result detected. Please notify the admin or try again later

From what I can tell thus far, this is simply because when attempting to get the access token both $access_token and $expires_in were empty from the response. Because this only happens after a user has authenticated themselves and is reattempting to login, I am guessing the invalid_request response has something to do with not using a refresh token since the application has already been authenticated.

Can anyone confirm this? I'm going to experiment with implementing the request token to see if this resolves the issue.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.