Comments (13)
Can you post the links to the places where you asked for help? This would help us find out what the problem is faster.
from socialite.
from socialite.
This isn't a link to stackoverflow like you said. Looks like this is a question which can be asked on a support channel. Please only use this issue tracker for reporting bugs with the library. If you have a question on how to use functionality provided by this repo you can try one of the following channels:
from socialite.
from socialite.
Hi,
This is an issue that is happening for me too. I have tried all solutions from several links on stackoverflow and laracasts found via a google search.
For me, I have a test website and live website... https://test.mysite.com and https://www.mysite.com. The odd thing is that this was fully tested and working (and still does) on the test domain, but give me a 403 error when using google on the live domain. Other providers (Facebook/Twitter/Linkedin) all work properly still on both test and live.
From the suggestions relating to 'scope', if I manually edit the callback URL to edit the scopes and press enter, the login process completes. (see below)
remove the scopes that are NOT within GoogleProvider.php $scopes
EDIT:
N.B removing scopes within the URL on test.mysite.com is not needed - it just works.
from socialite.
@benjam-es can you try upgrading to the latest laravel and socialite version?
from socialite.
The project is currently heavily tied to Laravel 5.5.x meaning im stuck on Socialite v3.x at the moment.
from socialite.
@benjam-es does using the solution from here work? #319 (comment)
from socialite.
From bugsnag also if this helps
public function user()
{
if ($this->hasInvalidState()) {
throw new InvalidStateException;
}
$response = $this->getAccessTokenResponse($this->getCode());
Laravel\Socialite\Two\InvalidStateException
vendor/laravel/socialite/src/Two/AbstractProvider.php:209 Laravel\Socialite\Two\AbstractProvider::user
from socialite.
@benjam-es does using the solution from here work? #319 (comment)
I've now pulled in that dev branch, and am still getting the same problem.
from socialite.
from socialite.
Not sure what that URL is for.. perhaps to do with my previous typo of NOT instead of NOW?
It's just a homepage of tutorials unrelated to this issue.
from socialite.
@benjam-es unfortunately we don't support 3.0 anymore. You'll have to upgrade and see if the newer version helps.
from socialite.
Related Issues (20)
- Upgrade Version HOT 1
- Linkedin provider: get user data HOT 2
- Linkedin provider: get user data HOT 7
- Page Isn't Redirect Properly Error In Github After Authorize Application HOT 1
- How can i make our customer to login with linkedin HOT 1
- sending wrong scope for linkedin HOT 2
- Exception on Linkedin: Undefined array key "storageSize" HOT 6
- [Linkedin] 'profile' and 'email' should be used as scopes[As Linkedin changed it] instead of 'r_liteprofile', 'r_emailaddress'.
- Profile URL HOT 1
- 5.11 release: PHP Fatal error: Declaration of SocialiteProviders\Okta\Provider::getRefreshTokenResponse(string $refreshToken) must be compatible with Laravel\Socialite\Two\AbstractProvider::getRefreshTokenResponse($refreshToken) HOT 1
- SocialiteProviders\Apple\Provider::refreshToken(string $refreshToken) compatibility problem HOT 1
- Trying to access array offset on value of type null HOT 1
- Can't get bot slack user and bot tokens HOT 7
- Refreshing access tokens does not work for Google HOT 3
- facebook API version question HOT 1
- GoogleProvider Type Error HOT 3
- GoogleProvider Not Receiving nickname Key HOT 3
- Issue authenticating HOT 3
- Bug with Microsoft ADFS after PR 684 HOT 3
- Sign In With LinkedIn Not working aymore? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from socialite.