GithubHelp home page GithubHelp logo

piwigo / piwigo-social-connect Goto Github PK

View Code? Open in Web Editor NEW
5.0 5.0 11.0 1.53 MB

Provides various ways to sign in your Piwigo gallery.

Home Page: http://piwigo.org/ext/extension_view.php?eid=684

License: GNU General Public License v2.0

PHP 94.27% Smarty 4.67% CSS 0.90% HTML 0.17%

piwigo-social-connect's Introduction

Piwigo logo

Manage your photo library. Piwigo is open source photo gallery software for the web. Designed for organisations, teams and individuals.

screenshot

The piwigo.org website introduces you to Piwigo. You'll find a demo, forums, wiki and news.

Requirements

  • A webserver (Apache or nginx recommended)
  • PHP 7.4+. Piwigo can run with PHP 7.0+ but these end-of-life versions are no longer maintained and may expose your site to security vulnerabilities.
  • MySQL 5 or greater or MariaDB equivalent
  • ImageMagick (recommended) or PHP GD

Quick start install

NetInstall

More information

Manual

More information

If you do not have your own server, consider the piwigo.com hosting solution.

Contributing

Piwigo is widely driven by its community; if you want to improve the code, fork this repo and submit your changes to the master branch. See our Contribution guide.

License

Piwigo is released under the GPL v2 license. See our Copying details.

piwigo-social-connect's People

Contributors

ddtddt avatar matthieulp avatar mistic100 avatar piwigo-translationteam avatar tophfr avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

piwigo-social-connect's Issues

Social Connect

Hello/Hi/Greetings,

Hi I try to follow the instructions in the Social Connect config page, but can't get it to work for Google.

Can some one describe how to enable login with google in Social Connect?

I have followed the instructions in the plugin Social Connect, but when I come to Create Client ID ing Google API Manager and choose Web Application and fill all stuff , no save button appears? Why ?

Do i have to pay get this working or what ?

Piwigo version: 2.8.2
PHP version: 5.6.26
MySQL version: 5.5.52
Piwigo URL: http://www.karlskogabilder.se

Google connection broken with piwigo 2.8.6

it's not the plug-in update which cause the trouble, I tried to downgrade to 2.2.4 and trouble still here so it's a problem with the 2.8.6 version of piwigo
I get Error code : 6, with all the google account
I don't know for the 2.9 version of piwigo ( not present in the FreeBSD ports for the moment )

succession and quickfixes

hi

i understand you are out of this
i am not ready yet to take it over because i'm not sure piwigo community is big enough to make this project viable in the future

what other web picture manager did you switch to?
besides photonix (completely broken at the moment) and other cloud based solution is refuse to use, i don't see much choice around

thanks

[mysql error 1054] Unknown column 'oauth_id' in 'field list'

Fresh Piwigo 2.7.4 install.
Environment:
Operating system: Linux
PHP: 5.5.23 (Show info) [2015-05-02 16:46:38]
MySQL: 5.5.41-MariaDB [2015-05-02 16:46:38]
Graphics Library: External ImageMagick 6.8.6-3

If Social Connect plugin is enabled it's not possible to manage users.
Browser pop-up window: "DataTables warning (table id = 'userList'): DataTables warning: JSON data from server could not be parsed. This is caused by a JSON formatting error."

Firebug console:

<b>Warning</b>:  [mysql error 1054] Unknown column 'oauth_id' in 'field list'

        SELECT SQL_CALC_FOUND_ROWS id, username, status, mail_address, recent_period, level, registration_date
, oauth_id
        FROM   piwigo_users INNER JOIN piwigo_user_infos AS ui ON id = ui.user_id

        ORDER BY  id
                    asc
        LIMIT 0, 10
     in <b>/data/pics/piwigo/include/dblayer/functions_mysqli.inc.php</b> on line <b>830</b><br />
</pre><br />
<b>Fatal error</b>:  Call to a member function fetch_array() on a non-object in <b>/data/pics/piwigo
/include/dblayer/functions_mysqli.inc.php</b> on line <b>206</b><br />

oAuth with Google Apps fail...

oAuth with Google Apps fail...

I've configure as per advise by the help files..
but still it have somthing error 6...

Anything I can do?

Windows LIve : Valid OAuth redirect URIs not correct

The link printed for Valid OAuth redirect URIs isn't correct pour windows live,
Actually, it's printed the gallery WEBSITE_ROOT URL, it should be something more like that : http(s)://WEBISTE_URL/plugins/oAuth/
I don't remember the exact url because I did that in my girlfriend account and I don't have access now.
I could check later, if it's necessary.

Trouble with LinkedIn OAuth

I've created my LinkedIn OAuth application in their developer console, added JavaScript valid domains and the full URLfor the Authorized Redirect as the plugin help so kindly provides:
{
http://myurl.com/plugins/oAuth/include/hybridauth/?hauth.done=LinkedIn
}

I've entered my key/secret and tried again and again to login. Piwigo Social Connect plugin LinkedIn option repeatedly says:
{
Error...

Authentication canceled
Close
}

Am I holding my mouth wrong or is this a LinkedIn App problem I've deleted the LinkedIn app and created a second app with the same failed result.

Thanks for your time.

Allow themes to override template

It should be possible to override the plugin's templates in themes.

E.g. adding a modified identification_menubar.tpl to my_theme/template/ - currently this does not change anything.

SECURITY issue

I just installed the plugin and setup the google OAuth.

Then I tried as a user to login via google and I was redirected to a page on piwigo where I can choose my user name but also the email address. So I'm able to register for any mail addres I want, the admin has no chance to verify if the user used his real address or not (except by sending an email the address). Instead the mail address should be derived from the OAuth response and should not be able to be overwritten by the user manually.

This is a really serious security issues, please fix this as soon as possible.

Adding a new provider for Social Connect

Hi,

I want to add a new provider for Social Connect.

I downloaded the additional provider file from hybridauth, such as Weibo.php, and copied it to "\oAuth\include\hybridauth\Hybrid\Providers"

and edited providers_stats.inc.php, adding

'Weibo' => array(
'name'              => 'Weibo',
'require_client_id' => true,
'new_app_link'      => null,
'about_link'        => 'http://open.weibo.com',

Now I can see Weibo listed with other providers, but when I enable it, the Application Key and Application Secret fields do not show up.

So I guess there is something missing with my configurations, can you tell how many steps are there to add a new provider?

Thank you!

Piwigo version: 2.9.2

Facebook auth broken

When I try to authenticate via Facebook I get the following error:

Fatal error: Uncaught TypeError: implode(): Argument #2 ($array) must be of type ?array, string given in /config/www/gallery/plugins/oAuth/include/hybridauth/Hybrid/thirdparty/Facebook/base_facebook.php:1309 

Stack trace: 
#0 /config/www/gallery/plugins/oAuth/include/hybridauth/Hybrid/thirdparty/Facebook/base_facebook.php(1309): implode() 
#1 /config/www/gallery/plugins/oAuth/include/hybridauth/Hybrid/thirdparty/Facebook/base_facebook.php(636): BaseFacebook->getCurrentUrl() 
#2 /config/www/gallery/plugins/oAuth/include/hybridauth/Hybrid/Providers/Facebook.php(95): BaseFacebook->getLoginUrl() 
#3 /config/www/gallery/plugins/oAuth/include/hybridauth/Hybrid/Endpoint.php(140): Hybrid_Providers_Facebook->loginBegin() 
#4 /config/www/gallery/plugins/oAuth/include/hybridauth/Hybrid/Endpoint.php(51): Hybrid_Endpoint->processAuthStart() 
#5 /config/www/gallery/plugins/oAuth/include/hybridauth/Hybrid/Endpoint.php(72): Hybrid_Endpoint->__construct() 
#6 /config/www/gallery/plugins/oAuth/include/hybridauth/index.php(18): Hybrid_Endpoint::process() 
#7 {main} thrown in /config/www/gallery/plugins/oAuth/include/hybridauth/Hybrid/thirdparty/Facebook/base_facebook.php on line 1309

Google - error code 6

I just installed Piwigo on my community's Hostgator instance.I get through all the Google authentication screens but then get an error code 6. I haven't been able to pinpoint the problem yet, and haven't found any past posts that have helped, so I thought I'd post this here in case anyone is checking.

Error on User Management page in piwigo

Piwigo version: 2.8.1
Social Connect version: 2.2.2

After I have upgraded piwigo to version 2.8.1, then my browser is throwing a error at me when I visit server/admin.php?page=user_list

And after some test by removing your plugin then I have found out that the error is only there when your plugin is installed.

I have posted a screenshoot here where you are able to see the error there is reported in the popup.

skaermbillede 2016-07-06 03 43 18

Warning: Trying to access array offset on value of type null

Please fix these errors:

Warning: Trying to access array offset on value of type null in /gallery/plugins/oAuth/admin/providers.php on line 59
<b>Warning</b>:  Trying to access array offset on value of type null in <b>/gallery/_data/templates_c/p6jhns^4a2734e35a005bccd0c23bd166375686f62be57f_0.file.providers.tpl.php</b> on line <b>96</b><br />

image

Problem saving new oAuth client secret

Dear Mistic100,
my entry of new client secret cannot be saved. I get the message "Information data registered in database", but next time when I get to Social Connect config page it displays the old one. Then, naturally, I get Error 6 as wrong client secret is sent to Google for authentication.
How can I fix this?
Thank you,
jzajc

Add CAS support

I am searching for a module to use "CAS" authentication, and this is the most similar plugin I found to do so. There is a phpCAS library to make things easier.

Thanks.

Google provider : error code 6

Piwigo version: 2.8.3
Social Connect version: 2.2.2

Since few weeks it's not possible any more to login through Google.
It failed on path : /plugins/oAuth/auth.php?provider=Google&openid_identifier=&init_auth=1#
with Error code : 6

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.