Coder Social home page Coder Social logo

greenmeteor / humhub-oauth Goto Github PK

View Code? Open in Web Editor NEW
15.0 6.0 7.0 278 KB

Social OAuths built for the Social Platform HumHub

License: GNU Affero General Public License v3.0

PHP 99.99% Hack 0.01%
humhub oauth2 discord slack patreon storenvy gitlab qq rocket-firm soundcloud

humhub-oauth's Introduction

HumHub OAuths

CLA assistant

Social OAuths built for the Social Platform HumHub

Notice: These are not for account creation, these are for connecting Social media accounts to your HumHub installation and logging in with them after.

OAuth Install & Setup

Once you've downloaded the contents upload the /oauth/<social-login>/<social-login>.php files to the /protected/humhub/modules/user/authclient directory.

OAuth Index

Discord (Working)

Slack (Not Working)

WordPress (On-Hold!)

Odnoklassniki (Deprecated since 1.0.6!)

Instagram (Deprecated since 1.0.1!)

QQ (Not Tested!)

Tumblr (Tested and not working!)

Foursquare (Not tested!)

Pinterest (Deprecated since 1.0.6!)

WeChat (Not tested!)

Patreon (Working!)

Soundcloud (Closed API!)

Twitch (Not working!)

Lianluo (Not tested!)

GitLab (Working!)

Rocket Firm (Working!)

HumHub (Under Development!)

Storenvy (Not tested!)

Mastodon (Not tested!)

More to come!

Notice: These aren't all 100% working, and need work done before they can be used to the fullest!

humhub-oauth's People

Contributors

archblood avatar felli avatar imgbotapp avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

humhub-oauth's Issues

Pinterest error

What steps will reproduce the problem?

Click on login using Pinterest
pinterest screen to allow

click on OK and error
3

What is the expected result?

login to humhub

What do you get instead?

An error

Exception โ€“ yii\authclient\InvalidResponseException
Request failed with code: 301, message: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<title>Redirecting...</title>
<h1>Redirecting...</h1>
<p>You should be redirected automatically to target URL: <a href="https://api.pinterest.com/v1/me/?access_token=AYGpWLY83EvmXcU16flWs2UcSo8uFQ5dQU8bLEVEqfy-H2BAdAAAAAA">https://api.pinterest.com/v1/me/?access_token=AYGpWLY83EvmXcU16flWs2UcSo8uFQ5dQU8bLEVEqfy-H2BAdAAAAAA</a>. If not click the link.

Additional info

Also, Icon on login using Pinterest missing

Q A
HumHub version 1.2.4
PHP version 7
Operating system windsows

Note: Please use the community site for any questions on customizing HumHub.

Note: Also provide the full error stacks from Administration --> Information --> Logging and errors from your browser console if possible.

instagram

What steps will reproduce the problem?

When login using Instagram I get the error

 "Missing E-Mail Attribute from AuthClient."

On Instagram
https://www.instagram.com/developer/authorization/

The Application is live and reviewed

What is the expected result?

Be logged in on humhub

What do you get instead?

 "Missing E-Mail Attribute from AuthClient."

Additional info

Q A
HumHub version 1.2.4
PHP version 7.0
Operating system linux

Note: Please use the community site for any questions on customizing HumHub.

Note: Also provide the full error stacks from Administration --> Information --> Logging and errors from your browser console if possible.

Patreon Error

What steps will reproduce the problem?

Register your client then setup everything on Patreon's end and after on your end and try to connect to Patreon.

What is the expected result?

A connection to Patreon

What do you get instead?

yii\authclient\InvalidResponseException: Request failed with code: 401, message: {"error": "access_denied"} in /home/USER/public_html/SITE/protected/vendor/yiisoft/yii2-authclient/BaseOAuth.php:210 Stack trace:
#0 /home/USER/public_html/SITE/protected/vendor/yiisoft/yii2-authclient/OAuth2.php(89): yii\authclient\BaseOAuth->sendRequest('POST', 'https://api.pat...', Array)
#1 /home/USER/public_html/SITE/protected/vendor/yiisoft/yii2-authclient/AuthAction.php(359): yii\authclient\OAuth2->fetchAccessToken('rHDkaM1OrLFCC6P...')
#2 /home/USER/public_html/SITE/protected/vendor/yiisoft/yii2-authclient/AuthAction.php(193): yii\authclient\AuthAction->authOAuth2(Object(humhub\modules\user\authclient\Patreon))
#3 /home/USER/public_html/SITE/protected/humhub/modules/user/authclient/AuthAction.php(35): yii\authclient\AuthAction->auth(Object(humhub\modules\user\authclient\Patreon)) #4 /home/USER/public_html/SITE/protected/vendor/yiisoft/yii2-authclient/AuthAction.php(177): humhub\modules\user\authclient\AuthAction->auth(Object(humhub\modules\user\authclient\Patreon))
#5 [internal function]: yii\authclient\AuthAction->run()
#6 /home/USER/public_html/SITE/protected/vendor/yiisoft/yii2/base/Action.php(94): call_user_func_array(Array, Array)
#7 /home/USER/public_html/SITE/protected/vendor/yiisoft/yii2/base/Controller.php(156): yii\base\Action->runWithParams(Array)
#8 /home/USER/public_html/SITE/protected/vendor/yiisoft/yii2/base/Module.php(523): yii\base\Controller->runAction('external', Array)
#9 /home/USER/public_html/SITE/protected/vendor/yiisoft/yii2/web/Application.php(102): yii\base\Module->runAction('user/auth/exter...', Array)
#10 /home/USER/public_html/SITE/protected/vendor/yiisoft/yii2/base/Application.php(380): yii\web\Application->handleRequest(Object(humhub\components\Request))
#11 /home/USER/public_html/SITE/index.php(25): yii\base\Application->run()
#12 {main}

Additional info

Q A
HumHub version 1.2.4
Oauth version 1.0.0
PHP version 7.1.13
Operating system CloudLinux (CentOS 6)

Note: Please use the community site for any questions on customizing HumHub.

Note: Also provide the full error stacks from Administration --> Information --> Logging and errors from your browser console if possible.

Roadmap

Documentations

  • Document how to use oauths

Needs more investigation!

Oauths

The following OAuths are working or have been submitted to be implemented into HumHub

Under Development

Needs Tested

Tested

Deprecated Oauths

  • Instagram (Now officially deprecated!)
  • Soundcloud (Now officially deprecated!)
  • Pinterest (Officially deprecated)
  • Odnoklassniki (Officially deprecated)

Submitted

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.