Please describe the expected behavior of the issue, starting from the first action.
REQUEST GOOGLE LOGIN / REGISTER URL WITH REST API…
LOGIN/REGISTER WITH GOOGLE
REDIRECT TO A BACKENDLESS CONFIRMATION PAGE or ( like how the email verify page can be edit )
Actual Behavior
GOES TO THE ADDRESS: https://api.backendless.com/FF55A111-06AF-7EB1-FFDE-B5B62760CA00/82EF8043-6A25-48C9-8025-B66AC81A019C/users/social/googleplus/authorize?state=8a05cf3a-d35a-4f79-b79e-fae032f4fda9&code=4%2F0AX4XfWjX5sxl8X2eyAbP_b8dS_P_bToqZp0VqjD9_jaagr-QlGjBwmFaXZ5eZFTvCSeS8A&scope=email+profile+https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fuserinfo.profile+https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fuserinfo.email+openid&authuser=3&prompt=none#
THE PAGE IS JUST WHITE WITH TEXT, SHOWS THE FOLLOWING INFO:
Expected Behavior
Please describe the expected behavior of the issue, starting from the first action.
REQUEST GOOGLE LOGIN / REGISTER URL WITH REST API…
LOGIN/REGISTER WITH GOOGLE
REDIRECT TO A BACKENDLESS CONFIRMATION PAGE or ( like how the email verify page can be edit )
Current behavior is expected behavior for REST APi key. To achieve your desired behavior you should control user authorization flow and perform redirect by yourself when authorization succeeded. I would advice you to open OAuth authorization page in separate frame and at the end to redirect user to desired page.
displayName is my identity column… ( But it puts the “oAuthId” value in there for some reason? )
We are sorry that you have encountered this problem. It was caused by changes on the server side. Last year we have added support for multiple login providers per user. Due to this change we have moved provider specific columns to separate element in oAuthIdentities JSON field. To restore your original behavior you should set this value manually to that column in afterOAuthRegister event handler.
On a related note, I’m having a password auto-length? error with logins, I create sha512-HMAC strings of passwords before put in database…
I have fixed this problem. Could you please try and confirm that problem gone?
No the problem persists, though now i’m unsure it’s a password length issue as it no longer gives the same error:
**ERROR: ** Unable to complete operation. Backend application is not properly configured. Contact the application developer and report a problem with Email Configuration.
So now it appears it’s the email??.. the pw hmac is not over the 500 character limit set
and Here’s my server’s debug log:
DEBUG: found TCPmessage, looking for msg_id…
DEBUG: msg_id = Account Register
DEBUG: message = {‘msg_id’: ‘Account Register’, ‘pw’: ‘0dbfa1fa8723b54e721b873d668af8014a89cf7d3ce91d65e3fb7e0199254cb84443f58e49b1984f8c833aee0bf4af6494b699bb121d7226a2aa62a9bdc28bf7’, ‘username’: ‘Admin’, ‘email’: ‘jesteroc.games@gmail.com’}
I couldn’t see a problem, so i just created a new App password in the google account assigned for SMTP configuration, and put it in Backendless…Tested and that appears to have fixed it… THANKS FOR ALL YOUR HELP!