Closed tomkiss closed 3 weeks ago
Fixed for the next release. To get this early, run composer require verbb/social-login:"dev-craft-5 as 2.0.1"
.
HI @engram-design - thanks for the fix, this has made the button appear now.
Unfortunately, when clicking it, after signing in to Google, I am booted back to the login screen.
However, if I change the URL to the root CP url, /admin
then I am actually signed in, there is an active session.
So there's a sort of dodgy redirect going on here. I only have Google as an integration.
I rolled back to my previous Craft 4.X version which worked as expected, but upon upgrading back to Craft 5 the same issue occurs.
This seems to be due to Craft 5's behaviour of redirecting to /admin/login
when trying to login, and that's used for the return URL. When logged in and loading that page, it doesn't seem to redirect to the control panel like it does in Craft 4.
You can confirm this by taking Social Login completely out of the equation and just login to the control panel "normally", and load /admin/login
to be shown the login screen, despite being logged in already.
I'll raise this with Craft itself...
@engram-design any updates from Craft on this issue? 😄
Should be fixed in an upcoming Craft version https://github.com/craftcms/cms/issues/15168#issuecomment-2156061985
Fixed in Craft 5.2.0
Describe the bug
After upgrading to Craft 5, the CP login no longer appears.
I've not changed any settings or altered the config. The only integration I have is Google.
Craft 4:
Craft 5:
Steps to reproduce
Craft CMS version
5.1.3
Plugin version
2.0.1
Multi-site?
No
Additional context
No response