Questions tagged as 'auth'

1
answer

How to login to AUTH (Laravel) with data coming from a third party API?

I'm developing a news app in laravel 5 for a client, but it already has a working system, and wants me to use the existing database so that system users can sign in to the news app and has developed a jSON API that returns me string(74) "{"Sta...
asked by 13.05.2017 / 19:57
1
answer

firebase.auth (). currentUser returns null when reloading the page

I'm developing an application with angular2 + angularfire2 + firebase, I'm experiencing difficulties in implementing authentication, I've been able to log in and out, but when the page is reloaded I lose authentication. My Seriço. import {I...
asked by 15.05.2017 / 04:05
1
answer

How can I make a password update on a user logged in to Laravel 5.2?

I was trying to change the user's password, but it did not work, someone can help me I'm new to Laravel. public function updatePassword() { $user = Auth::user(); $user->password = bcrypt($request['newpassword']); $user->sav...
asked by 01.04.2017 / 05:37
1
answer

Auth :: guest () always returns true | Laravel 5.4

I'm using the features offered by laravel for authentication, but even if I logged on the auth :: guest () command returns true as if it were a guest. Follow the code for my middleware <?php namespace App\Http\Middleware; use Closu...
asked by 14.03.2017 / 15:49
0
answers

Laravel problems to redirect after authenticating?

I'm starting to learn how to use Framework Laravel and I'm having a problem with the targeting after login, I'm using the Framework own login system. To learn how to use Framework I am creating a simple blog and at...
asked by 02.02.2017 / 07:54
0
answers

Disconnect frequently Laravel App

I created a CMS on the Laravel 5.2 platform, created the entire user system (login, register, reset pass, logout), however the user disconnects frequently, I have already disabled the Middleware VerifyCsrfToken but nothing happens. This h...
asked by 26.08.2016 / 06:31
0
answers

Google OAuth + Globo.com stopped working

No customer with email @ globo.com is able to access my services via OAuth. In the past they all clicked on "Login with Google", entered the credentials of globo.com, and logged in normally. They are now being redirected to the globomail site, a...
asked by 24.11.2015 / 15:19
1
answer

CakePHP auth does not allow Timthumb to work

I have a gallery that worked correctly, but after making the restrictions for users with Auth , the thumbnails stopped displaying the image, but when I delete function beforFilter() , public function isAuthorized($user) and co...
asked by 01.04.2014 / 12:07
1
answer

How to deal with multiple logins in Laravel? [duplicate]

In my application I have 3 distinct areas: Admin    Where everything is managed, authentication is currently done by Sentry (very good by the way). For this area I have the Users model that communicates with the database. Students...
asked by 14.01.2014 / 20:48