Questions tagged [authentication]

Authentication is the process of determining whether someone or something is, in fact, who or what it is declared to be.

0
votes
0answers
5 views

How to authorize Angular5 app against SpringBoot backend using CAS

I've been recently coding a WebApp with the following components: Backend: SpringBoot API with SpringSecurity that authorises against a 3rd party CAS server. Frontend: Angular5 app which basically ...
0
votes
0answers
13 views

Authentication user provider [passport] is not defined with laravel passport

I have an api in laravel and im using passport to authenticate. On my config/auth.php file i have changed this so the api guard using passport and refers to my user provider 'guards' => [ '...
-2
votes
0answers
17 views

How to connect NODE js to MSSQL using windows authentication

How to connect NODE js to MSSQLserver using windows authentication?. I tried tedious it is working for server but when i used windows authentication it will through err and not connected. This is the ...
0
votes
0answers
17 views

MVC Authenticated User

In my asp.net MVC application, we have a web site that is used by both customers and our contact centre staff to log jobs. The requirement is that if a customer accesses the site, they see the normal ...
0
votes
3answers
21 views

Login auth for existing user not working correct for existing and non existing user in laravel

I am working on login panel with custom login after successfull user registeration with in table while trying to login after validating email and password in correct format it unabling to check auth ...
0
votes
2answers
23 views

Backend authentication without logging in using PHP

I have an application that all the radiologists generates their reports by logging into the application. But I does not want user to login with their user id and password. when a user enters url it ...
0
votes
0answers
5 views

How to implement IAM Authorization for API that generates the UI

I want to implement IAM Authorization for my APIs but I have one issue. There is 1 API that I am unable to use sigv4 authorization for because it calls a lambda function that generates the front page ...
0
votes
0answers
5 views

How to check if PHP_AUTH_USER was already validated by .htaccess

Using PHP, I can return a 401 WWW-Authenticate: header that makes the browser pop up the Basic Authentication box. Using .htaccess (or server config), I can do the same. But how can I check, using ...
0
votes
1answer
11 views

CURL - How to pass username and password for OATH2 Ping-federate authentication?

I have a working URL that goes to Pingfederate and ask for user/pass. Upon entering - it gives me Authorization code. URL is: https://PINGURL.com/as/authorization.oauth2?client_id=MyClientID&...
-1
votes
0answers
22 views

Why can't sleep(3) before login check prevent brute force?

In a PHP login script, why wouldn't this pseudocode prevent a brute force attack? Of course it's still possible given enough time, but it's basically useless to brute force anything more than a few ...
0
votes
0answers
31 views

How to authenticate user, logged into main app, to access API on another server?

I want to refactor my Ruby on Rails application and split it into 2 parts. Currently, it's a monolithic app that incorporates user registration/authentication, resource management, report sending by ...
0
votes
1answer
16 views

Windows authentication trough Identity Server 4

I have tried to find but without any success on how to use Windows authentication that is implemented in IdentityServer4 samples (Quickstart6: AspNetIdentity). What I managed to find out is that I ...
1
vote
2answers
40 views

Authenticating through Azure Active Directory in a Web App

I've been following guide on authenticating my web app through Azure Active Directory. My task is just simply Displaying the user's Full name and/or Email after login with Azure Active directory. I'...
2
votes
1answer
39 views

Treat Laravel multi auth users as a unique user class

I have been struggling with this subject for couple of days now and I've searched everywhere but couldn't find a logical solution. I need multiple types of users in my project(admin, customer) ...
1
vote
1answer
19 views

Custom Authentication in Oracle APEX

I created a custom authentication scheme with the table bellow: table of users and this function FUNCTION authenticate(username_in IN VARCHAR2,password_in IN VARCHAR2) RETURN BOOLEAN IS ...
1
vote
0answers
10 views

Spring Boot: Encoded password does not look like BCrypt

I recently followed a tutorial on authorization and authentication (login) and everything works fine but everytime I input the username and password it's showing an error of bad credentials. This is ...
-1
votes
0answers
11 views

Analytics authentication through WordPress error “deleted_client”

How do I get past this? It is affecting analytics through wordpress. When wordpress authenticates analytics, I get the error: enter image description here
2
votes
1answer
26 views

What is Stored in Stateless JSON Web Tokens

I have been reading up on JWT recently, and feel I have a pretty decent grasp of how they are made and how the could be used for authentication. If I understand correctly, a challenge with stateful ...
1
vote
1answer
26 views

LDAP based user authentication for Kubernetes

There are some methods natively supported such as basic auth , X509 certificates and webhook tokens. Is there some workaround/project to use LDAP for user authentication with Kubernetes. I need users ...
0
votes
0answers
38 views

Access denied for user 'root'@'localhost' and proper MySQL configuration when connecting from Java

I'm facing a problem with Java 8, MySQL Server 5.7.23, MySQL Connector for Java v5.1.45 and Tomcat v9.0.12 (running on Ubuntu Server 18.04). I've built a simple Java application (war) that executes a ...
0
votes
1answer
21 views

Where to store the client secret for a web extension?

I am not quite sure where to store a client secret used in a oauth refresh token flow. As the code for a web extension runs on a user machine, potentially everyone could use my client secret which ...
0
votes
1answer
28 views

NestJS authGuard dosent works

I'm implementing @nestjs/passport ('jwt') and using (exactly like in the instructions) the @UseGuards(AuthGuard()) decorator but i'm getting the following exception: common_1.Optional is not a ...
0
votes
1answer
34 views

Laravel 5.7 Auth Problem can't get access

i can't get access to my login auth even if everything was fine until i did a migration refresh to start from 0 testing everything if it was fine. i created a user but when i try to login it show just ...
0
votes
0answers
27 views

Null string error on Firebase phone authentication in android studio

I'm trying to implement two step verification with Firebase Auth When user proceed to PelephoneActivity, he has a unique uuid , he get it when subscribed by email. In the PelephoneActivity I'm trying ...
1
vote
0answers
28 views

User Authentication using Angular 2 and Flask

I made a application for User login and Registration in Angular 2 but after log in I am not able to authenticate user (i.e. check if user is logged in). I have developed my back end in flask. Can ...
1
vote
1answer
19 views

How to have a Foxx service use base collection instead of mount specific ones

How can I have a Foxx service use base collections for auth operations? For example I want the User management tutorial at https://docs.arangodb.com/3.3/Manual/Foxx/Users.html to use collections "...
-1
votes
1answer
22 views

Local Storage with RESTful API for user authentication. Is this a safe method?

I would really like some opinions on whether the following is a safe method as user authentication, and if not, please point out it's shortcomings. React front end PHP / MySQL based RESTful API on ...
0
votes
0answers
16 views

Rails + Graphql and Authentication confusion

I'm a bit confused in regards to setting a current_user with GraphQL. So the way I would have done it in a Restful application would be to have the user controller login a user upon its creation like ...
0
votes
0answers
23 views

Authenticate User Against MySQL Database Not Working

A pretty simple thing I'm trying to do here but I'm slamming my head against a wall trying to figure out why it doesn't work. All of the code makes sense to me. I have a MySQL Database and I have my ...
0
votes
0answers
19 views

flash messages not working with passport authentication

I am following a tutorial to create a user based website using express and nodejs. I have a 'register' page and a 'login' page which in both the success message is sent through the command req.flash('...
0
votes
1answer
17 views

Laravel Api , 2 Type of users , separate them or make one table

I build Laravel Api application i have 2 type of user on my application Doctor Patient Each user type will have different user interface and access different types of data. Their only similarity ...
0
votes
1answer
33 views

How can I make my apk to function only if my device has a txt file?

How can I make my apk to function only if my device has a txt file? I have an apk that I have made. Is there a way to make it work only if the device its installed on has a specific text file which ...
0
votes
0answers
8 views

Firebase Cloud Functions Secure HTTPS Endpoints with API key

I've looked at a few places, Including this post and the firebase panel Is there no way to use these api's to secure these endpoints using an api key you create per client who uses your cloud ...
-1
votes
1answer
13 views

How to validate access token in Ionic 3?

I'm working on Ionic-Laravel app, and using Laravel Passport for authentication. These are my questions about authentication: Q1: Is there any way I can validate the access token in ionic app (like ...
0
votes
0answers
11 views

User authentication in each request

I have SSR rendering web site in which I need to sign in the user.As im new to website development I'm not sure do I need to authenticate each request from browser to my web page server? Also i will ...
-1
votes
1answer
12 views

oidc-client angular 6 Token lost after F5

When I login then Get token successfully. and also i navigate from one page to another page then also token remain. But when I press F5 (refresh) token or userData lost. What to do?
1
vote
1answer
28 views

Rails — Signing OAuth1 requests

I'm currently trying to implement an api (http://developers.music-story.com) whose authentication is using the OAuth 1.0 technology (requests are also signed). When I created my dev account they ...
1
vote
1answer
33 views

MVC C# creating username password

I would like to create MVC project that include username password authentication. But I don't know how can I do this. I will not use database. Just make it with getter setter. I will do this in a ...
0
votes
0answers
7 views

Recommended amount of a time a nonce should be retained?

What is the recommended amount of time a nonce should be retained? Indefinitely? Using a nonce as part of HMAC Authentication and ideally the most secure option is to retain it indefinitely, ...
1
vote
0answers
41 views
+50

Cache results of auth_request module, keyed by username

I am running the Kubernetes dashboard which, as one of its authentication methods, will allow you to pass the Authorization header with a bearer token in it. The token has to be a bearer token, i.e. ...
0
votes
1answer
13 views

Authentication with Active Directory using sAMAccountName and password / NodeJs

I m trying to authenticate to a server with Active Directory using Nodejs. I read a lot a of answers of that but no body use the sAMAccountName as attribute to do that. My code is : let ...
-2
votes
1answer
28 views

laravel authentication migrate trouble

Laravel authentication migrate error SQLSTATE[HY000] [1045] Access denied for user 'zulkufad_user'@'localhost' (using password: YES) (SQL: select * from information_schema.tables where table_schema = ...
0
votes
0answers
23 views

upgrading from hyperledger composer v0.16 to v0.20.2

I am upgrading my tutorial from composer v0.16 to composer v0.20.2 Most of the upgrade has gone smoothly, however I'm running into an authentication problem that I can't get around. I'm going through ...
1
vote
0answers
25 views

Power Query SQL Server connection - authenticate “windows alternative user account”

I am using Excel 2013 PowerQuery addin to connect to SQL Server database. I have Excel open with my user account (domain/Sherlock); which does not have read access to the database (myServer/myDB). I ...
2
votes
1answer
41 views

ASP .NET Core Identity in Winforms login not authenticating

I am using C# in a Winforms app and I have Identity wired up to where I can find users in the database. I have a simple login form that I cannot get working. I can find the user but I cannot verify ...
0
votes
0answers
10 views

ember simple auth isnt sending data as post request

i have an ember project using ember simple auth. Im trying to log in through my api which returns an access key but none of my login details seem to be getting sent. Here is my authentication service....
0
votes
0answers
11 views

import data from web to google sheet with user authentication

I want to import data from a specific web page to google sheet that requires user authentication. I tried with importhtXML and XPATH but doesn't work. I read that I need a script but don't know how ...
0
votes
0answers
33 views

my database is not getting data but registration form is also not giving error in laravel

i am new to laravel and doing my final year project in laravel but today when i am working on my registration form i just got a trouble my browser is not giving any kind of error but my db is also not ...
0
votes
0answers
12 views

WEP: response computation for shared key authentication

after a very long research on the web, I'm still not able to find any code/algorithm that shows how the shared-key authentication works in WEP, and in particular how the response is computed. The ...
0
votes
0answers
16 views

Securing assets on Microsoft Azure CDN (Verizon Premium) using token authentication

I am attempting to secure files in one folder on Verizon Premium CDN using token authentication. I have followed the docs here. I have successfully installed the PHP module that encrypts requests and ...