Most voted "auth" questions
64 questions
Sort by count of
-
10
votes2
answers2727
views -
8
votes3
answers837
viewsDisable Auto Redirect after logging into Cakephp 2.4
I’m using Cakephp’s Auth 2.4 and if I try to access a link that needs login it redirects to the login form. For example: I try to access: /projects/Edit/34 without being logged in. Cakephp then…
-
6
votes1
answer1202
viewsHow can I differentiate authentications in the Standard? Example: Administrator and Common User without using multauth
How can I differentiate routes for the same auth? I have a User table and in it I have registered two types of user: admin and common user, both in the User table, with the same attributes. How can…
-
5
votes2
answers1021
viewsHow to restrict access to routes in Angularjs?
How do I restrict access on some routes, and allow logged in users to access your content in Angulajs.
-
5
votes1
answer543
viewsFacebook login php Auth returning dialog/oauth? client_id in url
I’m making my application to login on Facebook, but it returns with GET on the url ?code=etc... Before it was working normally, I use via class from Facebook. See: $facebook = new Facebook(array(…
-
4
votes1
answer575
viewsLaravel Auth::Atempt() always returns false
I tried to authenticate, but it always comes back false in the method Auth::attempt() of Laravel: $prontuario = Input::get('prontuario'); $senha = Input::get('senhas'); if…
-
3
votes2
answers3927
viewsHow to edit the routes created by make:auth?
I have a project at Laravel where I used the command make:auth to create the views, routes, controllers etc, a registration form. I need to change the a view which is used by default in login for a…
-
3
votes3
answers2910
viewsRoutes accessible only to users logged in to Laravel?
Can someone give me a hint on how to create routes that can be accessed only by users who are authenticated, using the Laravel? For example, routes that refer to sharing, editing, deleting and…
-
3
votes1
answer439
viewsHow to post in XML in Reacjs
I am starting my walk in Reactjs, and I am going through a problem a few days ago, which is to login to an external api in my application, to give the user access to the rest of the application. I…
-
3
votes1
answer79
viewsIs it correct to make a user authentication by the backend return message?
Good afternoon, you guys! Earlier I took a question regarding user authentication in my application and after some good tips I was able to authenticate my user, the doubt now is whether the method…
-
3
votes0
answers77
viewsAre web security standards insufficient?
Well, above all, in addition to the issue I will raise here, I would also like to raise a debate, the security standards for system authentication are not insufficient? Context of the problem: I…
-
2
votes0
answers121
viewsWeb2py - Auth - Mongodb Authentication
I’m trying to use Mongodb with Web2py, and for that I started with authentication, but there are some errors that I don’t understand. In a relational database, Web2py creates the authentication…
-
2
votes1
answer3588
viewsHow to send login and password to this authentication system..?(automatic login)
you very likely already know and/or have seen that old apache authentication system (htpasswd | image below). Well, I need to create a code that sends the login and password to the form and goes…
-
2
votes1
answer757
viewsLaravel 5 - Auth::Attempt: Error using another table
Good afternoon guys, I’ve been searching on the Internet and unfortunately I could not solve my problem. I need to authenticate users using the Laravel 5.2 framework but my method needs to be…
-
2
votes1
answer938
viewsLogged in user information does not appear using Firebase!
I’m developing a web-app! In this case, a chat, however, a chat with new and cool functions! I’m doing it just for learning and fun! In the app, I’m using Firebase, to create Logins, Notifications…
-
2
votes1
answer347
viewsUse Auth class in Laravel configuration file
I’m using the barryvdh/Laravel-elfinder. This generates the configuration file /config/elfinder.php. Inside this file, I inform the path to upload Elfinder files. I need each user to have their…
-
2
votes1
answer207
viewsProblems with JWT token
I am using a system that, using JWT tokens pass for authentication, the problem is that I can easily collect the headers of the API calls and grab my token to be able to order whatever you want and…
-
2
votes1
answer737
viewsHow to download the file using wget on an authenticated website?
I am trying to download a backup file that is located on an authenticated website using wget. I tracked the http behavior when I log in through my browser and these are the parameters:…
-
1
votes3
answers931
viewsLogin Cakephp 2.0 does not work
I had already successfully logged in with the default table and fields in cakephp, I decided to change the table and fields for login and now do not log in. File Logs/login.ctp: <div…
-
1
votes0
answers320
viewsHow to login to another page via php?
I have a radio panel with web interface and in it has a function that is fundamental for the speakers to use. the problem is that this interface allows me to register only 1 user. In case, I…
-
1
votes0
answers367
viewsRedirect if not logged in to Auth Cakephp
I’m having a little doubt. I set the beforeFilter correctly to allow access to the appropriate actions. My question is this. When I try to access a certain action in a given controller, the…
-
1
votes0
answers36
viewsSymfony Api with Auth0
Someone can help me is that I’m having trouble implementing the Auth0 to authenticate an api I’m seeing this example https://github.com/auth0/jwt-auth-bundle/tree/master/example only that the…
-
1
votes2
answers842
viewsError: No supported Encrypter found. The Cipher and / or key length are invalid
Personal I am using Laravel 5.2 and went to perform an authentication, but when I run the command php artisan make:auth works perfectly, but in practice does not... When I click on login or Register…
-
1
votes1
answer92
viewsMake inclusions of the respective user Laravel 5.5 Auth Standard
I have a simple question, I am setting up some registrations for the purpose of studying the framework Aravel, with People, Accounts and etc.. I am using Laravel’s default authentication, and now I…
-
1
votes1
answer495
viewsAuth always returning false
Well I’m developing a login own and in it I have others campos and another tabela, everything goes perfectly but always returns result false. I changed the file Authenticatable.php inside…
-
1
votes1
answer629
viewsAuth::guest() always returns true | Laravel 5.4
I’m using the features offered by Standard for authentication, but even logged in the Auth::guest() command returns true, as if you were a guest. Follow the code of mine middleware <?php…
-
1
votes1
answer264
viewsAbout URL with token
Good night! Just take a doubt. I am developing an android application and will receive information in json, but when login, it would be more or less like this http://exemplo.com/auth/login/senha if…
-
1
votes1
answer496
viewsSwap DEFAULT table from Laravel Framework Auth 5.8.15
Good evening, I would like to know how to use the auth of Laravel but with a different table, I saw some articles on the internet but could not change yet. I tried to overwrite the protected method…
-
1
votes1
answer110
viewsXamarin Firebase Auth does not install by Nuget
Good morning friends. I’m starting a project in Xamarin Forms for iOS and Android, and will use Firebase for Authentication (Xamarin.Firebase.Auth). But when selecting in the package manager (Nuget)…
-
1
votes1
answer50
viewsReact/Redux - Function connection
Hello! I have a file containing a single function, it should return a boleano from a condition using the data from the Redux Storage. I can connect the file without being a Reactcomponent to Redux?…
-
0
votes1
answer298
viewsIP login authentication
I am creating a PHP application for login authentication: $phpsessid = 'SID: ".SID."<br>session_id(): ".session_id()."<br>COOKIE: ".$_COOKIE["PHPSESSID"]';…
-
0
votes0
answers68
viewsFrequently disconnects Laravel App
I created a CMS on the platform of Laravel 5.2, created the whole user system (login, Register, reset pass, logout), but the user disconnects frequently, already disabled the Middleware…
-
0
votes1
answer69
viewsCakephp Auth Does Not Allow Timthumb to Work
I have a gallery that worked properly, but after doing user restrictions with the Auth, thumbnails stopped showing the image, but when I delete function beforFilter(), public function…
-
0
votes0
answers114
viewsGoogle Oauth + Globe.com stopped working
No customer with email @globo.com is more able to access my services via Oauth. In the old days, they all signed in to "Login with Google", typed in the credentials of the globe.com, and logged in…
-
0
votes1
answer592
viewsHow do I log into the AUTH (Laravel) with data from a third-party API ?
I am developing a news application in Laravel 5 for a client, but it already has a system in operation, and wants me to use the existing database so that system users can log in to the news app and…
-
0
votes0
answers262
viewsHow to check in the API if a user being searched in the database is the user who is logged in?
I am using Laravel and I need to create an attribute (is_me) in the model to know if the current profile belongs to the user who is logged in; I was doing as below, but now that I am using API I can…
-
0
votes0
answers22
views -
0
votes1
answer769
viewsHow to change the Auth database of Laravel 4.2?
My project has two databases: one for the user account and another for the project domain. My need is to define the database that the Auth uses for authentication, because in the default…
-
0
votes1
answer596
viewsCodeigniter - Permission Authentication
Good afternoon, I wonder if there is a more practical solution to my problem. Each user has a different permission, characterized by a permissa_id in the users table that is correlated with an id in…
-
0
votes1
answer172
viewsFirebase Auth and Unity
Does anyone have an example or would know how to verify email authentication within Unity using firebase
-
0
votes1
answer52
viewsDoubt about the connection to the bank in the authentication of Aravel 5.6
Hello, I have a question and I can not solve, I need to connect the auth of Laravel 5.6 with an existing database, but I am a little lost, I have put the sql server drivers and already connected to…
-
0
votes0
answers25
viewsPOST request awaits endlessly
When I add the authentication in the post route and send the request, the request is waiting endlessly AUTH ARCHIVE: const jwt = require("express-jwt"); const secret = require("../config").secret;…
-
0
votes1
answer46
viewsPython-Django - How to show template only items associated with logged in user
I have a small project that is an "to-do list", or to-do list, done in Python-Django and I will implement a login system as I have done with other projects. However, this time I wanted to show only…
-
0
votes0
answers640
viewsLaravel problems to redirect after authenticating?
I’m starting to learn how to use the Framework Laravel and I’m having a problem with directing after login, I’m using the login system itself Framework. To learn how to use the Framework I’m…
-
0
votes1
answer359
viewsfirebase.auth(). currentUser returns null when reloading the page
I’m developing an application with angular2 + angularfire2 + firebase, I am facing difficulties in implementing authentication, I was able to login and logout, but when the page is reloaded I lose…
-
0
votes1
answer353
viewsAuthentication does not work after running make:auth
I execute the command: SmartFlex> php artisan migrate within my project and it is finished correctly. The options of login and registration are available at view, but while trying to access the…
-
0
votes1
answer45
viewsProblem with Firebasepp call
I have a fragment that performs user registration and login using Firebase. However, I’m having trouble with the initializeApp(Context) method. Follows the code: @Override public View…
-
0
votes1
answer948
viewsHow to control routes using Arable middleware?
I have a system with the following routes '\' '\expenses' '\Register' '\login' '\home' of these routes would like to make available only for user NOT authenticated ' ' and ' login', for this I…
-
0
votes1
answer317
viewsCakephp 3 Permissions - Authentication
Good afternoon, Someone who has already needed to use the restrictions for the user via bank in an editable way that can help. At first I followed the initial tutorial creating the user tables and…
-
0
votes0
answers69
viewsEvery time I click to go to another page, ask for the login again (LARAVEL 5.6)
Good afternoon, everyone Every time I go to another page my application asks to redo the login Follows route Route::get('/', function () { return view('welcome'); }); Auth::routes();…