Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[For 1.8] Isango - MyBB Social Login (oAuth2) - v2.0.1
#51
(2021-02-17, 09:48 PM)blooragon Wrote: At the moment it seems like the user cannot log in without connecting manually after registration.

The connections are made and attached to the user account as soon as they get registered. Please cross check.

(2021-02-17, 09:48 PM)blooragon Wrote: Also, is it possible at all to fill custom fields with the information from the gateway? For example, filling a custom profile field with the ID.

We already have taken into consideration to fetch other details received from gateway and fill the profile.
https://github.com/mybbgroup/Isango/issues/55
https://github.com/mybbgroup/Isango/issues/79

But the fact is not all gateways provide every info we need (as per supported scopes) and they are inconsistent across gateway return values. Will further explore possibilities to extent.
Reply
#52
(2021-02-18, 07:50 AM)effone Wrote:
(2021-02-17, 09:48 PM)blooragon Wrote: At the moment it seems like the user cannot log in without connecting manually after registration.

The connections are made and attached to the user account as soon as they get registered. Please cross check.

This is what the end-user is receiving after signing on without connecting manually. https://i.imgur.com/eZMUj05.png

This is with a custom gateway though, could that be the reason?
Reply
#53
Hi,
While login with facebook I am getting below attached error. Can anyone please help me?

Error:
Please correct the following errors before continuing:
  • The email provided by the gateway is already registered with an existing account and the verification status of gateway is unknown. Please login with MyBB login system and add the connection from UCP


Attached Files Thumbnail(s)
   
Reply
#54
It is pretty much self explanatory.
Your email ID is already registered with MyBB and authenticated. Facebook doesn't provide email verified status and the received data from Facebook is being failed to get verified. As a security measure, by design the plugin is restricting access to the existing account to prevent potential account hijack.

What you can do is, login using normal MyBB way, go to UCP > Connections and establish the Facebook connection. You will henceforth be able to login with Facebook smoothly.

Alternately, even it is not recommended; if you trust the data received from Facebook and ready to accept the risk of bypassing built-in cross-email match protection, just open the connection file facebook.ini and add this line at the very end, save, reupload.

vfd = "1"
Reply
#55
(2021-05-05, 06:57 AM)effone Wrote: It is pretty much self explanatory.
Your email ID is already registered with MyBB and authenticated. Facebook doesn't provide email verified status and the received data from Facebook is being failed to get verified. As a security measure, by design the plugin is restricting access to the existing account to prevent potential account hijack.

What you can do is, login using normal MyBB way, go to UCP > Connections and establish the Facebook connection. You will henceforth be able to login with Facebook smoothly.

Alternately, even it is not recommended; if you trust the data received from Facebook and ready to accept the risk of bypassing built-in cross-email match protection, just open the connection file facebook.ini and add this line at the very end, save, reupload.

vfd = "1"
It Worked!
Many Thanks Heart
Reply
#56
(2019-08-23, 03:39 PM)effone Wrote: For all gateways it is:
http(s)://{$your_site}/member.php?action=login&gateway={$gateway}

For example, if your site is iandrew.com and you are making app for google, the redirect url you have to set is:
https://iandrew.com/member.php?action=login&gateway=google

For those providers who don't allow fragmented callback url, just set:
https://iandrew.com/member.php

... and it will all work good.

Hi, How can we redirect user ( possibly via redirect URI in google credential console) to its last/previous page once user successfully authorize his/her credentials?

[Image: D0nevYA.jpg]
Reply
#57
You are not supposed to redirect the user from Google console to his last known location.
You are bound to redirect the user to member.php only for certain necessary actions.
At the point of successful login the user is not at Google, but your member.php only.
If you are willing to do that as per my understanding then that is probably possible and I request you to create an issue in the repo for us to attempt for a further resolution.
Reply
#58
(2021-05-26, 04:42 AM)effone Wrote: You are not supposed to redirect the user from Google console to his last known location.
You are bound to redirect the user to member.php only for certain necessary actions.
At the point of successful login the user is not at Google, but your member.php only.
If you are willing to do that as per my understanding then that is probably possible and I request you to create an issue in the repo for us to attempt for a further resolution.
Just submitted the issue on git hub.
Many Thanks Smile
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)