-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Auto linking and manual linking Google account with external provider fails #18002
Comments
Hi there @AaronSadlerUK! Firstly, a big thank you for raising this issue. Every piece of feedback we receive helps us to make Umbraco better. We really appreciate your patience while we wait for our team to have a look at this but we wanted to let you know that we see this and share with you the plan for what comes next.
We wish we could work with everyone directly and assess your issue immediately but we're in the fortunate position of having lots of contributions to work with and only a few humans who are able to do it. We are making progress though and in the meantime, we will keep you in the loop and let you know when we have any questions. Thanks, from your friendly Umbraco GitHub bot 🤖 🙂 |
Thank you @AaronSadlerUK for reporting this issue. I was able to reproduce it on v13.6.0-rc2 |
I'm afraid I'm having trouble replicating this @AaronSadlerUK and @NguyenThuyLan... I've followed the instructions from the document. I did find I wanted to make one tweak, as follows, the user I'm signing in as is approved:
I also noticed that after the sign-in I had to re-click the "Content" to get it to load. But other than that it looked to work as expected, and I didn't see any sign of these exceptions. Maybe @NguyenThuyLan you could privately share with me the client id and secret of your setup, and I'll see if I can see the same from there? |
Hi @AndyButland , I'm happy to jump on a call and demo / work together on this one :) |
Thanks @AaronSadlerUK - we'll see first if we can reproduce it in our own setup, but failing that, I may take you up on that tomorrow if that's OK? |
@AndyButland No problems, I'm on the Slack channel or Discord :) |
Which Umbraco version are you using? (Please write the exact version, example: 10.1.0)
13.5.2
Bug summary
Following the documentation here:
https://docs.umbraco.com/umbraco-cms/13.latest/tutorials/add-google-authentication
Once all hooked up and I go to link my user account I get the below error when trying to auto link my user:
The user id has been replaced, but it's a 21 character ID
I believe this field should be changed to a long instead of an int
In addition to this when logged in if you click the "Link Google Account" button the following error occurs:
It looks like the offending code could be in Umbraco.Cms.Web.Common.Middleware.BasicAuthenticationMiddleware
The path it's trying to access is:
/umbraco/ExternalLinkLoginCallback
The full stack trace:
Specifics
No response
Steps to reproduce
Follow the documentation to add Google auth to the users
Attempt to auto link the user account
For the second issue you need to:
Follow the documentation to add Google auth to the users
Login to the backoffice
Click link Google account
Expected result / actual result
The linking fails with the above error
It should link the account
The text was updated successfully, but these errors were encountered: