Questions tagged [authentication]
Authentication is the process of providing a proof of identity or verifying identity.
75,314
questions
0
votes
0
answers
4
views
Tracking User logins when utilizing basic Microsoft.AspNetCore.Authentication middleware
I would like track user logins of our AspNetCore app that is implementing basic Microsoft.AspNetCore.Authentication middleware. Our membership provider is Azure's B2C product and our app implements ...
0
votes
0
answers
23
views
R to get data with login
I am trying to automate the collection of data for the AdventOfCode challenge this year. As a test example, I am trying to download the data for 2020 day 6. But I am running into problems accessing ...
0
votes
0
answers
11
views
Can't get a Session after OAuth with Linear
It seems like I'm logging in and I get a code that should return a token. Token is in the cookie in Session, but the session is an empty object. I tried to console.log callbacks, but I got nothing in ...
0
votes
0
answers
20
views
Blazor Server fails to logout user when cookies expire (AWS OIDC)
Goal:
Blazor Server closes a circuit when cookies expire, deletes all cookies and kicks user out of the website (redirects user to identity provider).
Notes:
I am using Blazor Server and AWS Cognito ...
-3
votes
0
answers
38
views
Basic authentication with Spring Security [closed]
I'm developing a web server in java, as a backend for mobile app. In order to use the app you have to create a profile, and I want my users to be logged in all the time (for now users can create a ...
-3
votes
1
answer
36
views
Problème d'authentification laravel [closed]
I have a problem of authentication with laravel. I built my own LoginContoller but the problem is, once I enter email and correct password, I have returned back on the loggin page instead to the ...
0
votes
0
answers
33
views
Issues with Authenticating GET Operation Status using Management Certificate in Azure
I'm encountering authentication problems while attempting to perform a GET operation statuswithin Azure using a management certificate. I followed the steps outlined in this documentation to generate ...
1
vote
1
answer
13
views
When making desktop applications that use oauth, do I need to store the access token, or can I just store the refresh token?
So I'm making a desktop app using tauri and rust, and I'm just wondering what the best practice would be for saving tokens for google oauth. What I'm doing at the moment is attempting to just save the ...
0
votes
1
answer
16
views
I want to renew my access token whenever there is a change in the permission of the user from azure
I have a .net core mvc and web api application where user can access api secured with azure ad according to role assign to them. It is working perfect once user login and authenticate can access ...
0
votes
1
answer
54
views
I'm trying to send a token to the header
I have send token in the header for authorization in laravel
$request->headers->set('Authorization', 'Bearer ' . $token);
but the middle ware is not extracting the token and is giving no token ...
0
votes
0
answers
32
views
AZURE Apim policy to call a external api to validate a authorization token
Hi I have a requirement where i will send a authorization header to a api configured in apim. Below is my curl command
curl --location 'https://apidevdm.apim.ai/mobile/master/health'
--header '...
0
votes
0
answers
29
views
How to implement Internet Identity authentication with FLUTTER application?
I am unable to navigate back to my application after successfull log in.
Package: https://pub.dev/documentation/agent_dart/latest/
Example project I am trying to run: https://github.com/...
0
votes
0
answers
11
views
Is there a way to implement an abortController in aws' auth.signIn method?
The requirement was to check an already signed in user, if they entered the correct password for a change password feature:
const handleConfirmPassword = async (pw: string) => {
if (pw.length ...
-1
votes
0
answers
15
views
Troubleshooting Remote MySQL Connection Error: Access Denied for User When Connecting from Cloud Server" [duplicate]
ERROR 1045 (28000): Access denied for user 'dhia'@'165.51.103.94' (using password: YES)
Hello, I'm trying to access my local MySQL server from a cloud machine and have completed all necessary ...
0
votes
1
answer
21
views
NodeJS/Express Cookie lost on login
I followed a tutorial regarding implementing sessions in express and it works fine for one user. My issue only occurs with multiple users. When initially connecting to the server in both tabs, they ...
-1
votes
0
answers
13
views
NestJs session based authentication with cookies
I have an API build with NestJs Js and hosted on a VPS on mydomain.com but I still have a issue on cookies in local my api stores cookies in the browser but if I try to connect to the hosted one with ...
0
votes
0
answers
11
views
How to handle fetching data with an auth-token in a server component, version 13.5?
I have a client-side login that returns a token. Now, I want to create another server-side page to fetch some data, but I don't understand how to set the token on the server side for use in my fetch.
...
-3
votes
0
answers
23
views
LOGOUT from bash account [closed]
I'm trying to log out of my bash account and log in with another one, but with the logout script I only close the session and do not log out of my account and log in with another one. Which script I ...
-3
votes
0
answers
28
views
Need Help Regaining Access to Heroku Account After Losing 2FA on Phone Reset [closed]
I am in a bit of a predicament and would greatly appreciate any guidance or advice from the community. I've recently reset my phone, which led to an unexpected issue: I lost access to my Microsoft ...
0
votes
0
answers
22
views
Repeated calls to the Google Identity Plattform API blocks requests
I manage users of my API with Google Identity Plattform. To this end, I let users send their credentials (email/password) to my server which then sends requests to the identity plattform API for ...
0
votes
0
answers
9
views
PAM file -- Password Authentication
when I am switching from one user to another user and I entered wrong password then It shows Authentication failure and shown promt. so, what should I have to do that It will ask password for 3 times(...
0
votes
0
answers
17
views
Flutter Infinite Scrolling - Whenever user try to signup a new account to app it shows login screen then goes to home screen in flutter?
I'm using the following code for signin up. But the problem is after successfully signing in When anyone try to sign up for the app, it world redirect them back to the sign-in page. please tell me how ...
0
votes
0
answers
31
views
Angular + Spring Boot + Cognito Integration
I have an angular app running on 4200 port, and the spring-boot login service app on 8080.The cognito callback is setup like localhost:4200/app/callback (on port 4200). The Cognito Auth flows works ...
1
vote
1
answer
27
views
How can I customize IdentityUser model in .NET Core 8
I am trying to create an authentication module in NET 8. I was able to create a system where I could receive tokens and auth easily.
public class DbContext : IdentityDbContext<IdentityUser>
...
0
votes
0
answers
20
views
Facebook login picture missing
I created a Facebook application (at developers.facebook.com), it is now in live mode. I enabled facebook login, and now on the backend I fetch the following:
`https://graph.facebook.com/me?fields=id,...
0
votes
0
answers
10
views
Error: 502 Bad Gateway with Google Login (custom domains)
This error happens when a new user register using a custom domain gmail address ([email protected]), it doesn't happen with a regular gmail address.
Our app has been approved by Google, then what's the ...
0
votes
1
answer
23
views
Having dificulties authenticating wifi users via Freeradius using Kerberos as a backend authenticator
Hey Stack Overflow folks,
So, here's the deal. We're running a WPA2 business setup, and our users get authenticated through FreeRADIUS, which is using LDAP to check passwords stored in NTLM hash.
We'...
0
votes
1
answer
16
views
SSR and client requests with separate frontend and backend servers (Next and Nest)
I've got a NestJS backend holding the data (including the users) and a NextJS frontend. In my current setup, Next redirects all requests to an /api route to Nest and Nest handles basically anything ...
0
votes
0
answers
15
views
Has anyone managed to log into an IBM Jazz Team server with matlab http requests using j_security_check url?
I have an example in python code that logs into a jazz team server and later on sends a GET request to a requirement url from doors Next. That works fine in python but I didn't manage to translate ...
0
votes
0
answers
16
views
Nuxt.js server side rendering not getting cookie on refresh
I log in with cookies in Nuxt js. Everything works normally locally. But there is a problem placing it on the server. The problem is that after I log in, everything works, but when I refresh the page, ...
0
votes
1
answer
89
views
Powershell azure get oauth token for application authentication
I'm using powershell and have connected to Azure using Connect-AzAccount. I've got some function apps running in with Azure authentication in-front of them. I can't figure out how to generate tokens ...
0
votes
0
answers
17
views
The sign in option won't disappear after signing in VSCODE
I'm developing a Visual Studio Code extension and trying to create my own Authentication Provider. I've noticed that the 'sign in' option doesn't disappear even after I've already signed in. I have to ...
-1
votes
0
answers
40
views
React Login Authentication Error (login state error)
I made Login/logout Authentication using session storage accessToken. and it didn't work well.
In App.jsx
<Route path="/calender" element={ <AuthRoute><CalendarPage /> </...
0
votes
0
answers
11
views
when user Each time navigate, should i do mysql query for checking JWT valid or not valid?
I have a database with a table "users". it is a mysql database.
My question is, when an user is logged in. I store JWT token on database with a column named "isDestroyed"
If admin ...
0
votes
0
answers
10
views
Implementing Separate Authentication for React JS Users in Laravel
I am currently working on a project that utilizes Laravel for admin management and API services, while ReactJS handles the user interface. The default Laravel Fortify authentication system is ...
-1
votes
0
answers
22
views
Keycloak User Profile Registration Form Country City Province Relation
I am trying to learn KeyCloak.
Now currently using v23.0, I enabled userProfile settings.
I am trying to add some sections to the Registration Form.
I can add sections but what I am trying to achieve ...
-1
votes
0
answers
41
views
How to authenticate to an Azure app within Logic App?
Summarize the problem
I am working on existing Azure infrastructure and looking to implement a non-MFA to a Azure app with a Logic App.
There is currently a third-party RESTful API that expects the ...
0
votes
0
answers
6
views
lucia-auth mongoose typescript syntax is incorrect lucia.ts
I am very new to TypeScript and to lucia-auth. I was following the documentation's instructions for the Mongoose database adapter, and in the lucia.ts file, I am getting red underlines in VSCode for ...
0
votes
0
answers
14
views
Database authentication failed - "MongoServerError: bad auth : authentication failed"
I Could n't connect with the MongoDB database.
I was getting this issue when I was trying to connect MongoDB atlas with my Program.
Below source code is used for server.js
const express = require('...
0
votes
1
answer
22
views
Third-party authentication in a modeless dialog of a Google Sheets add-on
I have a Microsoft Excel add-in. When launching, it opens a sidebar. The sidebar hosts a website which is the core of the add-in. The website can interact with the contents of the workbook. In one ...
0
votes
0
answers
18
views
CognitoUser getUsername mehod is returning email id of user while signing up
I am working with aws cognito for registering user. It was working correctly and returing uuid of user as username. but all sudden its returning email. I have made no changes in logic. This is the ...
-1
votes
0
answers
17
views
Authetication with http basic auth [closed]
How do I authenticate using http basic auth? I’m using Google Chrome and this is only for a puzzle I'm solving for a job.
I've read about it but I'm not sure how it really works with Chrome? I'm a ...
0
votes
1
answer
35
views
Return custom user object in authorize() of nextauth
I'm trying to use next auth on nextjs to manage authentication using Google and using email and password (using signInWithEmailAndPassword from firebase), but I'm having problems in returning the user ...
0
votes
0
answers
18
views
Google Workspace SAML Site ACS Url
Setting up a SP-initiated SAML flow.
We have a number of customers with different subdomains, but would like to configure them to use a single Google SAML site as Idp.
Problem is, Google SAML requires ...
0
votes
0
answers
37
views
Typescript React - authentication fails
Authentication to my application fails which result in not being able to login to my API. I have narrowed the errors down to two files but I can't find the problem.
Authentication happens in ...
0
votes
0
answers
9
views
Properly implementing a Jenkins Authentication Plugin
I've written a Jenkins plugin that implements a SecurityRealm that specifies a custom Security Filter.
That filter takes the username and password and authenticates it by posting it to a 3rd party ...
0
votes
0
answers
15
views
Python: SMTP credentials are correct but authentication fails
I'm attempting to send an email with a Python script that I've converted from a functioning PowerShell script. When it tries to run with Python the credentials fail, but when it runs with PowerShell ...
0
votes
0
answers
21
views
Get sharepoint api access token using userName and password in Dot Net Core (all available solutions show for Dot net framework)
I am trying to get sharepoint access token for sharepoint api by using userName and password.
I tried using "SharePointOnlineCredentials" method from Microsoft.SharePoint.Client but this is ...
0
votes
1
answer
27
views
Automatically Generating API Token in Strapi for Development
I'm currently working on a project using Strapi and Nextjs (they are seperated from each other), and I'm trying to streamline our development process by automatically obtaining an authentication token....
0
votes
0
answers
27
views
Header [Authorization] is not working in Reactj for ASP.NET Core Web API
Please tell me what could be the issue: I've configured React and ASP.NET Core Web API to use JWT tokens, but for some reason, when React requests resources with the [Authorize] attribute, it gets ...