Category : authentication

Problem After creating several Laravel Nova tools, I discovered that it was possible to navigate to a custom tool, even though the user logged out in a different tab. Explanation In the Laravel Nova docs, it is stated that the out-of-the-box Authorization Middleware of Laravel Nova takes care of the authentication of routes that are ..

Read more

I’m using Breeze for multi authentication in laravel 8. I want to redirect on different dashboards say user and admin after login. Both dashboards are ready, route are ready, role column in user table is also created. But I can’t solve. It was very much easier using ui package but Im disappoint with such difficult ..

Read more

As the title says, it just stopped working out of sudden. I have a custom guard: config.auth.php ‘guards’ => [ ‘admin’ => [ ‘driver’ => ‘session’, ‘provider’ => ‘admins’, ], ….. ‘providers’ => [ ‘admins’ => [ ‘driver’ => ‘eloquent’, ‘model’ => AppAdmin::class, ], The user (or shall I say admin?) gets authenticated through login ..

Read more

Failed to authenticate on SMTP server with username "[email protected]" using 3 possible authenticators. Authenticator LOGIN returned Expected response code 235 but got code "535", with message "535-5.7.8 Username and Password not accepted. Learn more at 535 5.7.8 i am trying to get an email by anyone who wants to contact us Here is my controller ..

Read more

hello I have uploaded my laravel app to Heroku and I publish the Passport config files using the php artisan vendor:publish –tag=passport-config to access the authentication keys using config variables after that, I am getting an error Key path (my private auth key) does not exist or is not readable I have tried installing passport, ..

Read more

Here is my Android code, login request goes from here to specified url and takes back the response but response always comes false (user credentials are incorrect) while i try to login with mobile number instead of email. please help me HashMap<String, Object> map = new HashMap<>(); map.put("grant_type", "password"); map.put("username", mobile); map.put("password", password.getText().toString()); map.put("client_secret", BuildConfig.CLIENT_SECRET); ..

Read more

i’am using Laravel as an endpoint and angular as a frontend to create an simple app this problem shows after i loggedin i tried to get the current authenticated user data every time it shows this message "unauthenticated" AuthController.php class AuthController extends Controller { public function __construct() { $this->middleware(‘auth:api’, [‘except’ => [‘login’, ‘signup’ ]]); } ..

Read more

is there a way to check if the user has logged in with a Socialite? because i want to create a post based on this authentication. what i have done if (!empty(Socialite::driver(‘linkedin’)->stateless()->user())) { $linkedinuser = Socialite::driver(‘linkedin’)->stateless()->user(); dd($linkedinuser); } return redirect(‘/profile/’); i expect to get the dump if user has authenticated with linkedin, or else return ..

Read more