I’m using Laravel 8 to develop my project and I would like to use Google authentication system for my users to login. So I downloaded package via composer require laravel/socialite command and added my information on .env: GOOGLE_CLIENT_ID=example GOOGLE_SECRET_KEY=example GOOGLE_CALLBACK_URL=http://localhost:8000/auth/google/callback And then I defined them on config/services.php: ‘google’ => [ ‘client_id’ => env(‘GOOGLE_CLIENT_ID’), ‘client_secret’ => ..
Hi, everybody! When authenticating via Google, a new window opens in the browser, the user enters the data, the screen closes and the token returns. How can I access this token in the home screen? Simply put, how to implement it via the httpСlient Angular. The back request is processed using Laravel and the token ..