Hi,
I installed oAuth
Registered as developer on facebook
Created the app
Disabled sandbox mode for the app
Copied details to the oAuth config page
Clicked on Facebook icon on my gallery and it opened window to Register a user with my facebook developer username, which I did.
I got an email from gallery to the facebook user email address confirming registration.
The user is in user list.
But I am stuck in registration stage and cannot login this user.
I cleared all cookies etc and click on Facebook icon, enter facebook email address and password but instead of logging in I just get gallery user registration page with facebook username filled in and message at top saying "Your registration is almost done, please complete the registration form."
If I try and type facebook user name and password in normal gallery login area it says Invalid Password
Any ideas?
Offline
the aim of oAuth is to not provide any credential to the website so your last try is a nonsense :)
a simple question : did you validated the register page ?
personnaly it works well (test: http://www.strangeplanet.fr/piwigo-test/)
and give the url of your website
Offline
mistic100 wrote:
a simple question : did you validated the register page ?
Yes.
I just tried again with another facebook username with same result.
When you try and log-in with a new facebook user the gallery goes to the registration page.
After typing the validation code I got a Succesful Registration message and the user is logged in, BUT if you log out and try and log in again you go the registration page again. If you try and register the user again it says the login and email address are already in use.
Last edited by otherwayup (2013-07-06 23:15:08)
Offline
when you are one the register page after the first login, you must validate the form in order to be actually registered
Offline
edited my previous reply, see above.
Gallery URL is howletts. otherwayup. net
Also, tried your test site and got following error when the facebook window opened.
Error...
Authentication canceled
Question: I didn't select any Hosting of the facebook App. SHould I have done?
Thanks,
Last edited by otherwayup (2013-07-06 23:24:44)
Offline
can you access your database with phpMyAdmin ang give the content of the piwigo_users table (remove the emails)
Answer: no
look, I don't know the mechanisms used to anthenticate, so it's very hard to correct, I absolutely don't know why it doesn't work on my website
Offline
id username password mail_address oauth_id
21 Damien Sorel $P$GLY4J.4w1z/23wEiNBw1c7opHfc45j/ NULL
I've removed email address and only shown your id info.
Offline
I think I figured it out : it seems to be a conflict with Crypto Captcha
will try to find why, and a workaround
Offline
Thanks, I appreciate your help with this.
Offline
version 1.0.2 should fix it
Offline
Yep, works now. Many thanks.
Offline
v4r4n1 wrote:
they can't see anything, if I give them the direct link they get an error message, that they are not allowed to see the page.
"Error...sie sind nicht berechtigt diese seite aufzurufen"
thay can't see what ? you gave the link to chat ? which page ? can you translate this error ?
and you please open a new thread, this one is resolved
Offline