Giter Site home page Giter Site logo

Comments (5)

adamwathan avatar adamwathan commented on August 18, 2024

Were you able to resolve this? Testing locally with the Google provider and still working here :(

from eloquent-oauth-l5.

bsdnomad avatar bsdnomad commented on August 18, 2024

What is interesting it does the same with GitHub and LinkedIn, only Facebook works properly.
I guess it's about domain 'cloaking' or inability to access it from outside for some of the providers.

Really strange, I followed strictly the instructions you present in the video. Going to post updates if I manage to solve it.

from eloquent-oauth-l5.

adamwathan avatar adamwathan commented on August 18, 2024

Closing for now, if you find a way to reliably reproduce or have more information please open another issue 👍

from eloquent-oauth-l5.

timkrins avatar timkrins commented on August 18, 2024

I was having this issue - I'm only just starting with Laravel.

Figured it out - it was because my authentication routes were outside of the web middleware.

...which of course, I could have found out if I just googled more... gah... Mentioned at the end of issue #32

Anyhow, setting up my routes like this fixed the problem:

Route::group(['middleware' => ['web']], function () {

    // Redirect for authorization
    Route::get('auth/linkedin', function() {
        return SocialAuth::authorize('linkedin');
    });

    // Redirects here after authorization
    Route::get('auth/linkedin/callback', function() {

        // Log in existing users or create
        SocialAuth::login('linkedin');

        // Now have user
        $user = Auth::user();

        return Redirect::intended();
    });

});

from eloquent-oauth-l5.

nclaveras avatar nclaveras commented on August 18, 2024

It happened the same to me, working locally. What worked for me was:
php artisan config:clear
but then it happened again later and I need to do the same but closing session in google/facebook/others, closing firefox and worked again.
It seems that detect you tried so many attempts and stops working.

from eloquent-oauth-l5.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.