id stringlengths 7 11 | source stringclasses 1
value | category stringclasses 11
values | title stringlengths 15 214 | text stringlengths 70 30.5k | url stringlengths 57 160 | tags stringlengths 3 113 | created_at int64 1.22B 1.79B |
|---|---|---|---|---|---|---|---|
se_79662718 | stackoverflow | CYBERSECURITY | App registrations set up for Microsoft AppSource monetisation | App registrations set up for Microsoft AppSource monetisation
Our company is developing a full stack solution that integrates our SaaS product with Microsoft marketplaces (AppSource & Azure Marketplace). It has similar infrastructure to the SaaS Monetization Sample, with two Azure app registrations as follows -
Back e... | https://stackoverflow.com/questions/79662718/app-registrations-set-up-for-microsoft-appsource-monetisation | azure, authentication, saas, azure-app-registration, appsource | 1,749,679,418 |
se_20780826 | stackoverflow | CYBERSECURITY | Request data with NTLM authentication by using ajax on Blackberry | Request data with NTLM authentication by using ajax on Blackberry
I want to connect to the server which supports NTLM authentication, and I'm using the following code snippet to request data:
$.ajax({
url: url,
type: 'get',
dataType: 'jsonp',
jsonpCallback: jsonpCallback,
contentType: "applicat... | https://stackoverflow.com/questions/20780826/request-data-with-ntlm-authentication-by-using-ajax-on-blackberry | ajax, authentication, blackberry, ntlm | 1,388,042,365 |
se_18610312 | stackoverflow | CYBERSECURITY | How to enable remember password in case of AJAX login? | How to enable remember password in case of AJAX login?
I have a web app where I have a simple login box. There is no form to submit and the login procedure is implemented via jQuery AJAX.
In such a scenario, how can I make the web browser display the dialog:
"Do you want the browser to remember the password?"
NOTE: ... | https://stackoverflow.com/questions/18610312/how-to-enable-remember-password-in-case-of-ajax-login | html, jquery, ajax, authentication | 1,378,287,417 |
se_77667906 | stackoverflow | CYBERSECURITY | Why oauth2_scheme authentication is not working in FastAPI? | Why oauth2_scheme authentication is not working in FastAPI?
I am creating a FastAPI authentication system (register and login) and following the documentation. I am using sqlalchemy, postgres and pydantic models.
My code is:
from fastapi import FastAPI, HTTPException, Depends, status
from datetime import datetime, tim... | https://stackoverflow.com/questions/77667906/why-oauth2-scheme-authentication-is-not-working-in-fastapi | python, authentication, oauth-2.0, fastapi | 1,702,661,332 |
se_79664932 | stackoverflow | CYBERSECURITY | Is using HttpOnly cookies to manage AWS Cognito access and refresh tokens a secure and recommended approach? | Is using HttpOnly cookies to manage AWS Cognito access and refresh tokens a secure and recommended approach?
We're implementing authentication for multiple SPAs across subdomains of the same parent domain (e.g. app1.mycompany.com, app2.mycompany.com) using AWS Cognito, a custom login UI, and a centralized PHP backend.... | https://stackoverflow.com/questions/79664932/is-using-httponly-cookies-to-manage-aws-cognito-access-and-refresh-tokens-a-secu | angular, authentication, session, cookies, amazon-cognito | 1,749,821,411 |
se_79662093 | stackoverflow | CYBERSECURITY | Cannot switch from user myself back to root using `su` command, it reports authentication failure. `sudo` command not found either | Cannot switch from user myself back to root using `su` command, it reports authentication failure. `sudo` command not found either
I am currently using Arch Linux on WSL2, and I am new to it. In the previous time, I mostly used Ubuntu 18.04 on VMWare. I switch to Arch Linux and WSL2 is because I want to explore someth... | https://stackoverflow.com/questions/79662093/cannot-switch-from-user-myself-back-to-root-using-su-command-it-reports-authe | authentication, archlinux | 1,749,649,197 |
se_21941314 | stackoverflow | CYBERSECURITY | Swipe a splash screen to get to a login screen (Android Application) | Swipe a splash screen to get to a login screen (Android Application)
I am developing an android application where currently:
1. splash screen displays
2. splash goes away and login screen appears
What I would like to happen is for the splash screen to stay on the screen until a user swipes the screen left or right wh... | https://stackoverflow.com/questions/21941314/swipe-a-splash-screen-to-get-to-a-login-screen-android-application | android, authentication, swipe, splash-screen | 1,393,004,191 |
se_34938394 | stackoverflow | CYBERSECURITY | laravel5.2 Auth::guest() returns error "Class 'App\Http\Controllers\Auth' not found" | laravel5.2 Auth::guest() returns error "Class 'App\Http\Controllers\Auth' not found"
I am trying to use the inbuilt Auth for login in laravel and register. These automatically generated pages work so well, now I use Auth::guest() to check if the user is authorized to return a view: index else to logi... | https://stackoverflow.com/questions/34938394/laravel5-2-authguest-returns-error-class-app-http-controllers-auth-not-fo | php, laravel, authentication | 1,453,432,504 |
se_67838120 | stackoverflow | CYBERSECURITY | How to redirect ASP.Net 5 (Core) Authorize attribute to 401 | How to redirect ASP.Net 5 (Core) Authorize attribute to 401
Question
Hi. I'm working on an ASP.Net 5 (Core not MVC5) web API. I'm using a cookie authentication scheme with an external OpenID Connect identity provider. I'm using an Authorize attribute to secure an action to authenticated users only. Since this is a web... | https://stackoverflow.com/questions/67838120/how-to-redirect-asp-net-5-core-authorize-attribute-to-401 | asp.net, authentication, http-redirect, openid-connect | 1,622,813,326 |
se_79662416 | stackoverflow | CYBERSECURITY | AWS Cognito - HTTP Only Cookie setup without Managed Login/Hosted UI | AWS Cognito - HTTP Only Cookie setup without Managed Login/Hosted UI
I'm struggling to get my head around the HTTP only cookie setup with Cognito when not using the Managed Login.
I had successfully used the AWS SDK on the client-side to InitiateAuth and retrieve tokens where I could either store the token in memory o... | https://stackoverflow.com/questions/79662416/aws-cognito-http-only-cookie-setup-without-managed-login-hosted-ui | amazon-web-services, authentication, jwt, amazon-cognito | 1,749,662,923 |
se_7226057 | stackoverflow | CYBERSECURITY | troubleshooting Cakephp auth component not allowing allowed actions | troubleshooting Cakephp auth component not allowing allowed actions
Original question.
I am using the Cakephp auth component to manage an admin section. This is using version 1.3.11
The problem I'm having is that even with allowed actions in each controller, I'm being redirected to the user login page.
Here is what's ... | https://stackoverflow.com/questions/7226057/troubleshooting-cakephp-auth-component-not-allowing-allowed-actions | session, cakephp, authentication | 1,314,592,067 |
se_69622925 | stackoverflow | CYBERSECURITY | Docker private registry insufficient_scope when trying to delete image | Docker private registry insufficient_scope when trying to delete image
I'm trying to delete an image tag from my private docker registry mydockerregistry.com within a bash script. Authentication is done through registry web mydockerregistry.com:8080, so I get the token first using
TOKEN=`curl -s \
-H "Content-Type... | https://stackoverflow.com/questions/69622925/docker-private-registry-insufficient-scope-when-trying-to-delete-image | docker, authentication, docker-registry | 1,634,593,809 |
se_78599460 | stackoverflow | CYBERSECURITY | Problem with Redirect after Account Deletion in Keycloak | Problem with Redirect after Account Deletion in Keycloak
Description
I am trying to implement account deletion functionality in my Flutter application using Keycloak for authentication. The account deletion process is initiated using the parameter kc_action=delete_account. However, after the account is successfully de... | https://stackoverflow.com/questions/78599460/problem-with-redirect-after-account-deletion-in-keycloak | flutter, authentication, keycloak | 1,717,959,776 |
se_79660200 | stackoverflow | CYBERSECURITY | Authentication architecture on AWS with rust backend & Vue frontend | Authentication architecture on AWS with rust backend & Vue frontend
I am trying to figure out which strategy is fastest to implement and better for someone without aws experience. I have a rust backend API and a vue3 frontend. The backend is containerized and communicates with MySQL rds. I cannot decide what appro... | https://stackoverflow.com/questions/79660200/authentication-architecture-on-aws-with-rust-backend-vue-frontend | amazon-web-services, vue.js, authentication, rust, registration | 1,749,549,249 |
se_62842725 | stackoverflow | CYBERSECURITY | When you should implement a refresh token and how to remain stateless? | When you should implement a refresh token and how to remain stateless?
I'm implementing an authentication system.
The system currently runs with JWT, and without a refresh token.
To let the user stay logged in for a reasonable amount of time, we decided to set the expiration time for the token to 12 hours.
I saw that ... | https://stackoverflow.com/questions/62842725/when-you-should-implement-a-refresh-token-and-how-to-remain-stateless | security, authentication, jwt, refresh-token, stateless | 1,594,417,378 |
se_79657696 | stackoverflow | CYBERSECURITY | Authentication with a Reverse proxy | Authentication with a Reverse proxy
I'm working on an app where we have a reverse proxy (nginx) that routes the requests to several services, a Keycloak instance, a REST API and a webapp. Currently all the configuration for the communication with Keycloak is on the webapp. So all the setup for the oidc client is done ... | https://stackoverflow.com/questions/79657696/authentication-with-a-reverse-proxy | authentication, nginx, keycloak, openid-connect, reverse-proxy | 1,749,373,947 |
se_79653956 | stackoverflow | CYBERSECURITY | LoginAsync Always Returns False in Blazor WebAssembly with ASP.NET Core 9 Cookie Authentication | LoginAsync Always Returns False in Blazor WebAssembly with ASP.NET Core 9 Cookie Authentication
I'm building a full-stack app using Blazor WebAssembly and ASP.NET Core 9 Web API. For authentication, I've transitioned from localStorage token management to HttpOnly cookie-based authentication.
When I call LoginAsync fro... | https://stackoverflow.com/questions/79653956/loginasync-always-returns-false-in-blazor-webassembly-with-asp-net-core-9-cookie | asp.net-core, authentication, cookies, blazor-webassembly | 1,749,107,614 |
se_35247436 | stackoverflow | CYBERSECURITY | CloudKit server-to-server authentication | CloudKit server-to-server authentication
Apple published a new method to authenticate against CloudKit, server-to-server. I tried to authenticate against CloudKit and this method. At first I generated the key pair and gave the public key to CloudKit, no problem so far. I started to build the request header. According ... | https://stackoverflow.com/questions/35247436/cloudkit-server-to-server-authentication | authentication, cloudkit, server-to-server | 1,454,798,701 |
se_48335451 | stackoverflow | CYBERSECURITY | Ajax login to a web site and follow redirect | Ajax login to a web site and follow redirect
I want to login to a web site and follow redirection with ajax or XMLHttpRequest or anything else except PHP.
Actually when I try to do it, I have error "302 Moved Temporarily" but the web page is the right page so I don't know why I get this error.
The web site is an exter... | https://stackoverflow.com/questions/48335451/ajax-login-to-a-web-site-and-follow-redirect | ajax, authentication, post | 1,516,343,983 |
se_8379166 | stackoverflow | CYBERSECURITY | Adwords API Bad Authentication | Adwords API Bad Authentication
I am using Adwords API from last 3 months and all of a sudden today it is coming up with error message as follows:
Uncaught exception 'AuthTokenException' with message 'Failed to get authToken. Reason: BadAuthentication'
I am using google adwords V201101 php library with auth.ini contain... | https://stackoverflow.com/questions/8379166/adwords-api-bad-authentication | php, authentication, google-ads-api | 1,323,038,434 |
se_46153433 | stackoverflow | CYBERSECURITY | Eclipse Git (Egit) not accepting remote username and password | Eclipse Git (Egit) not accepting remote username and password
Why doesn't Egit accept username and password when fetching from remote?
These are the steps I follow:
In Git Repositories view I expand Project -> Remotes -> origin
Right click on origin -> fetch
Login mask appears; I insert User and Password
Repeat ste... | https://stackoverflow.com/questions/46153433/eclipse-git-egit-not-accepting-remote-username-and-password | eclipse, git, authentication, egit | 1,505,125,486 |
se_79609000 | stackoverflow | CYBERSECURITY | Remirror + YjsExtension throws “state undefined” error | Remirror + YjsExtension throws “state undefined” error
I’m trying to build a collaborative editor using Remirror and Yjs, but I’m encountering an error when adding the YjsExtension. As soon as I include it, the following error appears in the browser console:
remirror-core.js:4315 Uncaught TypeError: Cannot read proper... | https://stackoverflow.com/questions/79609000/remirror-yjsextension-throws-state-undefined-error | authentication, next.js, amazon-cognito, aws-amplify, aws-amplify-cli | 1,746,544,589 |
se_79641005 | stackoverflow | CYBERSECURITY | Blazor auth not always synchronizing | Blazor auth not always synchronizing
I have a Blazor web app, where I am using static SSR and wasm (but not interactive server).
I of course have a server project and a wasm project.
I have setup auth with Appwrite and written of own auth providers. They work fine for a while, but after some time (several days) when I... | https://stackoverflow.com/questions/79641005/blazor-auth-not-always-synchronizing | authentication, blazor, blazor-webassembly | 1,748,370,066 |
se_77872949 | stackoverflow | CYBERSECURITY | Next.js 14.0.4 - Browser Back Button Allows Access to Protected Routes After Logout | Next.js 14.0.4 - Browser Back Button Allows Access to Protected Routes After Logout
Description:
I am using Next.js version 14.0.4 for a web application, and I'm facing an issue with browser navigation after a user logs out. Specifically, when a user logs out and clicks the browser back button, they can still access p... | https://stackoverflow.com/questions/77872949/next-js-14-0-4-browser-back-button-allows-access-to-protected-routes-after-log | authentication, next.js, browser, middleware, logout | 1,706,098,342 |
se_79648570 | stackoverflow | CYBERSECURITY | AADSTS500208 "domain is not a valid login domain" error when migrating Blazor WASM from Azure AD B2C to Entra External ID | AADSTS500208 "domain is not a valid login domain" error when migrating Blazor WASM from Azure AD B2C to Entra External ID
Problem
We're migrating a Blazor WebAssembly application from Azure AD B2C to Entra External ID and encountering authentication issues. Users can't sign in or sign up, receiving the error... | https://stackoverflow.com/questions/79648570/aadsts500208-domain-is-not-a-valid-login-domain-error-when-migrating-blazor-wa | authentication, blazor-webassembly, microsoft-entra-external-id | 1,748,860,019 |
se_79652567 | stackoverflow | CYBERSECURITY | How to use Authentik as OAuth2 Identity Provider and Keycloak as OAuth2 Client? | How to use Authentik as OAuth2 Identity Provider and Keycloak as OAuth2 Client?
I want to integrate my app, where authentication and authorization are based on Keycloak, with an already existing Authentik instance.
What I want to obtain is the following:
a new user, whose data are already in Authentik, visits my app ... | https://stackoverflow.com/questions/79652567/how-to-use-authentik-as-oauth2-identity-provider-and-keycloak-as-oauth2-client | authentication, oauth-2.0, oauth, keycloak, openid-connect | 1,749,032,331 |
se_79651811 | stackoverflow | CYBERSECURITY | Laravel sanctum SPA authentication with multiple different user models | Laravel sanctum SPA authentication with multiple different user models
I'd like to implement authentication in Laravel 11/12. I am using Laravel as an API that is consumed by two Angular SPA's on the same domain (different subdomains): call it the admin frontend and the client frontend.
For the admin frontend, I have ... | https://stackoverflow.com/questions/79651811/laravel-sanctum-spa-authentication-with-multiple-different-user-models | laravel, authentication, model, single-page-application, laravel-sanctum | 1,748,979,132 |
se_73395492 | stackoverflow | CYBERSECURITY | How to login to McMaster-Carr API | How to login to McMaster-Carr API
I am a beginner trying to log in to McMaster-Carr API. I have a .pfx authentication file, an API password, and my main login/password (email/account password). I have imported the .json file into postman and have inputted my main login credentials in the fields below, but I am not get... | https://stackoverflow.com/questions/73395492/how-to-login-to-mcmaster-carr-api | json, authentication, postman, pfx | 1,660,774,750 |
se_41033337 | stackoverflow | CYBERSECURITY | C# Flurl - Add WebRequestHandler to FlurlClient | C# Flurl - Add WebRequestHandler to FlurlClient
I am working with Flurl to hit an API that requires certificate-based authentication. I have seen from this SO post that adding a certificate to a WebRequestHandler and instructing an HttpClient to use this handler is easy.
However, it is not so clear for me using Flurl... | https://stackoverflow.com/questions/41033337/c-flurl-add-webrequesthandler-to-flurlclient | c#, http, authentication, x509certificate2, flurl | 1,481,179,345 |
se_39941058 | stackoverflow | CYBERSECURITY | How can we authenticate mobile clients that send request to server | How can we authenticate mobile clients that send request to server
I am developing an mobile (Android) API that connects to my server and fetch a few data and send it to the mobile (Android) app that use this API.
I want to be sure that, only persons who has been authenticated with my servers can use the API.
I can ... | https://stackoverflow.com/questions/39941058/how-can-we-authenticate-mobile-clients-that-send-request-to-server | android, authentication, google-api, client-server | 1,475,997,757 |
se_79648750 | stackoverflow | CYBERSECURITY | Connect using a Certificate for Authentication | Connect using a Certificate for Authentication
Is there any way to connect to SQL Server 2022 using Client Certificate Authentication using an X.509 cert? From everything I can see it looks like this is not possible but where I am confused is it looks like there is an option in the ODBC 18 Driver here to specify a cli... | https://stackoverflow.com/questions/79648750/connect-using-a-certificate-for-authentication | sql-server, authentication, client, x509, sql-server-2022 | 1,748,868,244 |
se_79647655 | stackoverflow | CYBERSECURITY | Why does Spotify return {"error":"errorUnknown"} when submitting login credentials with a valid ReCaptcha token and flow_ctx? | Why does Spotify return {"error":"errorUnknown"} when submitting login credentials with a valid ReCaptcha token and flow_ctx?
I'm trying to programmatically log into Spotify using Python, with the help of Playwright and a ReCaptcha V3 bypass solution (go-recaptcha-v3-bypass or 2Captcha). I extract ... | https://stackoverflow.com/questions/79647655/why-does-spotify-return-errorerrorunknown-when-submitting-login-credentia | python, authentication, spotify | 1,748,790,154 |
se_79648048 | stackoverflow | CYBERSECURITY | JWT Cookie Removed After Page Refresh in React App (Frontend Localhost, Backend Server) | JWT Cookie Removed After Page Refresh in React App (Frontend Localhost, Backend Server)
I'm developing a React app (http://localhost:5173) and a PHP backend hosted on a live server. I'm using JWT stored in an HttpOnly cookie for authentication.
When I log in, the backend sets the cookie successfully, and I can see it ... | https://stackoverflow.com/questions/79648048/jwt-cookie-removed-after-page-refresh-in-react-app-frontend-localhost-backend | php, reactjs, authentication, jwt, setcookie | 1,748,822,762 |
se_54883895 | stackoverflow | CYBERSECURITY | Securely exposing a gRPC service with authentication using gRPC-web | Securely exposing a gRPC service with authentication using gRPC-web
We are using Improbable's gRPC-Web library to expose a gRPC service (implemented in Go) to a Javascript client running in-browser. This service will sit alongside an existing front-end Go service which hosts a REST-based API. The existing service uses... | https://stackoverflow.com/questions/54883895/securely-exposing-a-grpc-service-with-authentication-using-grpc-web | authentication, go, grpc, grpc-web | 1,551,178,574 |
se_68054171 | stackoverflow | CYBERSECURITY | using refresh token to get new access token react and node js | using refresh token to get new access token react and node js
I've built a JWT API for user authentication. I want to use it with react.
my app has these routes:
Node js API Routes:
http://localhost:8080/api/auth/signin -> this route accepts username and password from react and sends back an access token to react whi... | https://stackoverflow.com/questions/68054171/using-refresh-token-to-get-new-access-token-react-and-node-js | node.js, reactjs, authentication, jwt, http-status-code-401 | 1,624,178,886 |
se_79628184 | stackoverflow | CYBERSECURITY | authentication fails with Spring Security with "permitAll" | authentication fails with Spring Security with "permitAll"
I configured Spring Security in order to have some api protected and other publicly available, and it works. However, if for some reason a public api is called with the "Authorization" header, the access is denied. How can I avoid this behavior and g... | https://stackoverflow.com/questions/79628184/authentication-fails-with-spring-security-with-permitall | authentication, spring-security, permission-denied | 1,747,636,159 |
se_79639427 | stackoverflow | CYBERSECURITY | how to properly configure my client to connect to LDAP server (Active Directory Domain Service) | how to properly configure my client to connect to LDAP server (Active Directory Domain Service)
I have configured a local lab using VMware Workstation Pro that consists of a VM1 running Windows Server 2022 with Active Directory installed and configured. I have created one new forest,tree,domain. Then created some OUs,... | https://stackoverflow.com/questions/79639427/how-to-properly-configure-my-client-to-connect-to-ldap-server-active-directory | authentication, ssl, active-directory, ldap | 1,748,284,299 |
se_61221140 | stackoverflow | CYBERSECURITY | The destination pkcs12 keystore has different storepass and keypass. Please retry with -destkeypass specified | The destination pkcs12 keystore has different storepass and keypass. Please retry with -destkeypass specified
I'm new to the key generation. When I follow up on the steps I get an error as below...
D:\My_Personal_Projects\springblog>keytool -importkeystore -srckeystore springblog.jks -destkeystore springblog.jks -des... | https://stackoverflow.com/questions/61221140/the-destination-pkcs12-keystore-has-different-storepass-and-keypass-please-retr | java, spring-boot, authentication, jwt, keystore | 1,586,923,515 |
se_77159508 | stackoverflow | CYBERSECURITY | Flutter: how to check if user is logged in by using flutter_secure_storage | Flutter: how to check if user is logged in by using flutter_secure_storage
I have this code for flutter_secure_storage:
import 'package:flutter_secure_storage/flutter_secure_storage.dart';
class SecureStorage {
final FlutterSecureStorage storage = const FlutterSecureStorage();
writeSecureData(String key, String ... | https://stackoverflow.com/questions/77159508/flutter-how-to-check-if-user-is-logged-in-by-using-flutter-secure-storage | flutter, authentication | 1,695,402,203 |
se_76506271 | stackoverflow | CYBERSECURITY | Custom AuthenticationManager not used in Spring Security 6 | Custom AuthenticationManager not used in Spring Security 6
For my Spring Boot (3.1.) / Spring Security (6.1.0) application I need to support multiple custom authentication methods. So I created my own AuthenticationManager with two custom AuthenticationProviders.
The AuthenticationProviders are not getting called and ... | https://stackoverflow.com/questions/76506271/custom-authenticationmanager-not-used-in-spring-security-6 | authentication, spring-security | 1,687,174,870 |
se_79644403 | stackoverflow | CYBERSECURITY | How to use login_not_required with class-based views | How to use login_not_required with class-based views
Django 5.1 introduced the LoginRequiredMiddleware. This comes with the companion decorator login_not_required() for function-based views that don't need authentication. What do I do for a class-based view that doesn't need authentication? | https://stackoverflow.com/questions/79644403/how-to-use-login-not-required-with-class-based-views | django, authentication, django-views | 1,748,541,664 |
se_31641884 | stackoverflow | CYBERSECURITY | Does Passport's logout function remove the cookie? If not, how does it work? | Does Passport's logout function remove the cookie? If not, how does it work?
From the docs:
Passport exposes a logout() function on req (also aliased as logOut())
that can be called from any route handler which needs to terminate a
login session. Invoking logout() will remove the req.user property and
clear the l... | https://stackoverflow.com/questions/31641884/does-passports-logout-function-remove-the-cookie-if-not-how-does-it-work | javascript, node.js, authentication, passport.js, passport-local | 1,437,944,283 |
se_28870430 | stackoverflow | CYBERSECURITY | Redirect to original request after authentication, Angular-Fullstack? | Redirect to original request after authentication, Angular-Fullstack?
I am using the angular-fullstack (https://github.com/DaftMonk/generator-angular-fullstack) from the yeoman generator for the MEAN stack. I am new to most of these technologies and am just beginning to wrap my head around how the pieces fit together... | https://stackoverflow.com/questions/28870430/redirect-to-original-request-after-authentication-angular-fullstack | angularjs, authentication, http-redirect, mean-stack, angular-fullstack | 1,425,532,138 |
se_79642744 | stackoverflow | CYBERSECURITY | How to enable PII data retrieval when we don't have access to the backoffice administration tool? | How to enable PII data retrieval when we don't have access to the backoffice administration tool?
I need to retrieve SSN and DOB (Date of Birth) information from the authenticated user after completing the OAuth flow. According to the documentation, this should be possible via the appropriate claims and scopes, bu... | https://stackoverflow.com/questions/79642744/how-to-enable-pii-data-retrieval-when-we-dont-have-access-to-the-backoffice-adm | authentication, oauth, token, banno-digital-toolkit | 1,748,453,853 |
se_79636179 | stackoverflow | CYBERSECURITY | What to do after SAML assertion is returned to service provider? | What to do after SAML assertion is returned to service provider?
my team is building a healthcare React application and we are using Auth0 for authentication. We are required to have SAML integration for healthcare institutions.
I have set up the Assertion Consumer Service endpoint in our application. I have set up a ... | https://stackoverflow.com/questions/79636179/what-to-do-after-saml-assertion-is-returned-to-service-provider | authentication, keycloak, single-sign-on, saml, auth0 | 1,748,032,992 |
se_79638734 | stackoverflow | CYBERSECURITY | How is a refresh token invalidated upon rotating it before its expiration period? | How is a refresh token invalidated upon rotating it before its expiration period?
I am building an authentication using name, username and password and wants to use access and refresh token for the authorization.
To keep the user safe i come to know about an approach where you rotate the refresh token on refresh of ev... | https://stackoverflow.com/questions/79638734/how-is-a-refresh-token-invalidated-upon-rotating-it-before-its-expiration-period | authentication, jwt, access-token, bearer-token, refresh-token | 1,748,254,588 |
se_79622283 | stackoverflow | CYBERSECURITY | How can I send authenticated requests from React to a Laravel API using Sanctum? | How can I send authenticated requests from React to a Laravel API using Sanctum?
I'm building a frontend in React.js and a backend in Laravel, and I'm trying to implement authentication using Laravel Sanctum.
I've set up the Laravel API, installed Sanctum, and configured the cors, sanctum middleware, and the api.php r... | https://stackoverflow.com/questions/79622283/how-can-i-send-authenticated-requests-from-react-to-a-laravel-api-using-sanctum | reactjs, laravel, authentication, laravel-sanctum | 1,747,256,296 |
se_79641139 | stackoverflow | CYBERSECURITY | Integrating an External App with Banno Using subId | Integrating an External App with Banno Using subId
We are integrating an external application with the Banno platform and are currently relying on the subId (subject identifier) returned from the Banno API as a unique identifier for each user.
I have a few questions:
Is there any way for our Banno client (FI) to obta... | https://stackoverflow.com/questions/79641139/integrating-an-external-app-with-banno-using-subid | authentication, integration, guid, banno-digital-toolkit | 1,748,376,900 |
se_79638679 | stackoverflow | CYBERSECURITY | How can i can implement user behavior detection ? like usual login pattern. And for unusual time it will trigger a validation through otp | How can i can implement user behavior detection ? like usual login pattern. And for unusual time it will trigger a validation through otp
I have made a login system with keycloak token generation using endpoints. I want to implement a tool or library which we can use to detect user behavior on basis of login time. If ... | https://stackoverflow.com/questions/79638679/how-can-i-can-implement-user-behavior-detection-like-usual-login-pattern-and | authentication, keycloak, wazuh, user-event | 1,748,252,630 |
se_79527111 | stackoverflow | CYBERSECURITY | Attribute RabbitMQ messages based on producer username | Attribute RabbitMQ messages based on producer username
I am developing a log collector where different applications send tracing messages to a predefined RabbitMQ queue.
Every producer authorizes itself connecting to rabbitmq server. Is there a way to distinguish producers at the consumer level using the authorisation... | https://stackoverflow.com/questions/79527111/attribute-rabbitmq-messages-based-on-producer-username | authentication, rabbitmq | 1,742,630,433 |
se_71829049 | stackoverflow | CYBERSECURITY | Role based authentication system fastify | Role based authentication system fastify
I'm currently working on a fastify project, where I use fastify-jwt to create Bearer tokens to my users.
And in the routes I acces it with following:
fastify.get(
"/test",
{
preValidation: [fastify.authenticate],
},
Collection.functionX
);
So know I wa... | https://stackoverflow.com/questions/71829049/role-based-authentication-system-fastify | node.js, authentication, roles, fastify | 1,649,685,093 |
se_73802183 | stackoverflow | CYBERSECURITY | Cannot make Azure B2C refersh token become invalid | Cannot make Azure B2C refersh token become invalid
When a user logs out of Azure B2C using the MSAL library on a mobile device this only clears the local cache. The remote session on the server still exists which means any existing refresh tokens could still be used.
From searching I know that the Microsoft Graph API... | https://stackoverflow.com/questions/73802183/cannot-make-azure-b2c-refersh-token-become-invalid | azure, authentication, azure-ad-b2c, refresh-token | 1,663,769,321 |
se_78677248 | stackoverflow | CYBERSECURITY | Authorization in telegram bot by code fails | Authorization in telegram bot by code fails
I am writing a telegram bot with telethon which gets access to several chats in the account and parses messages from it into the database.
When I try to use this bot I try to login, Telegram sends me authentication code. When I send this authentication code to the bot, authe... | https://stackoverflow.com/questions/78677248/authorization-in-telegram-bot-by-code-fails | python, authentication, bots, telegram, telethon | 1,719,486,480 |
se_1087031 | stackoverflow | CYBERSECURITY | What's the difference between OpenID and OAuth? | What's the difference between OpenID and OAuth?
I'm really trying to understand the difference between OpenID and OAuth? Maybe they're two totally separate things? | https://stackoverflow.com/questions/1087031/whats-the-difference-between-openid-and-oauth | authentication, oauth, openid-connect, openid | 1,246,887,602 |
se_79635401 | stackoverflow | CYBERSECURITY | Google Cloud and project ID from google.auth.default() in docker container | Google Cloud and project ID from google.auth.default() in docker container
I'm playing Whac-A-Mole with Google Cloud authentication. Sorry for the lengthy question but since I have no idea where the problem is, I'm trying to give enough context.
With Python, calling google.auth.default(), I can retrieve the ID of my G... | https://stackoverflow.com/questions/79635401/google-cloud-and-project-id-from-google-auth-default-in-docker-container | python, docker, authentication, google-cloud-platform, gcloud | 1,747,998,806 |
se_79600322 | stackoverflow | CYBERSECURITY | Blazor web app OpenID Connect authentication's remote sign-out endpoint gives bad request (400) response because of anti-forgery | Blazor web app OpenID Connect authentication's remote sign-out endpoint gives bad request (400) response because of anti-forgery
In a Blazor SSR web app, I have configured the OIDC authentication and the RemoteSignOutPath has been set.
builder.Services
.AddAuthentication(options =>
{
options.Defaul... | https://stackoverflow.com/questions/79600322/blazor-web-app-openid-connect-authentications-remote-sign-out-endpoint-gives-ba | asp.net-core, authentication, blazor, openid-connect, antiforgerytoken | 1,746,016,177 |
se_79633523 | stackoverflow | CYBERSECURITY | Retrieve sign in events from entra id using API MSAL | Retrieve sign in events from entra id using API MSAL
I have an Angular UI app which uses MSAL to login via Entra Id (formerly known as Microsoft Active Directory). This enables users of the organisation to log into the app. In the Entra Id portal, I'm able to view the user logins by navigating to:
'Monitoring & health... | https://stackoverflow.com/questions/79633523/retrieve-sign-in-events-from-entra-id-using-api-msal | angular, azure, authentication, microsoft-entra-id, msal | 1,747,908,632 |
se_79632385 | stackoverflow | CYBERSECURITY | API call returns 401 for dotnet-isolated Azure Function hosted in a Docker Container | API call returns 401 for dotnet-isolated Azure Function hosted in a Docker Container
I have an API project that works when deployed to a live environment. Now I am trying to run it in a container.
Building the container has been successful and when I start the container and navigate to localhost:<port> in a web browse... | https://stackoverflow.com/questions/79632385/api-call-returns-401-for-dotnet-isolated-azure-function-hosted-in-a-docker-conta | docker, authentication, azure-functions | 1,747,844,269 |
se_79603795 | stackoverflow | CYBERSECURITY | Is Cognito explicit auth flow `ALLOW_USER_SRP_AUTH` included in `ALLOW_USER_AUTH`? | Is Cognito explicit auth flow `ALLOW_USER_SRP_AUTH` included in `ALLOW_USER_AUTH`?
In the Cognito CloudFormation resourceAWS::Cognito::UserPoolClient documentation for ExplicitAuthFlows it says:
ALLOW_USER_AUTH: Enable selection-based sign-in with USER_AUTH. This setting covers username-password, secure remote passw... | https://stackoverflow.com/questions/79603795/is-cognito-explicit-auth-flow-allow-user-srp-auth-included-in-allow-user-auth | amazon-web-services, authentication, aws-cloudformation, amazon-cognito | 1,746,204,665 |
se_78407624 | stackoverflow | CYBERSECURITY | Route does not match required types of NextJS route, authOptions | NextJS Route Type Error | Route does not match required types of NextJS route, authOptions | NextJS Route Type Error
I'm encountering an issue with NextJS routes while working on an project (ecommerce), and I could use some guidance in resolving it. To be more specific, it's got to do something with my route.ts file which also works with NextA... | https://stackoverflow.com/questions/78407624/route-does-not-match-required-types-of-nextjs-route-authoptions-nextjs-route | typescript, authentication, next.js, next-auth | 1,714,470,132 |
se_79630989 | stackoverflow | CYBERSECURITY | How would you merge Microsoft Account (LiveId, XBox, Outlook.com etc.) with social media provider authentication in ASP.NET Core | How would you merge Microsoft Account (LiveId, XBox, Outlook.com etc.) with social media provider authentication in ASP.NET Core
I have gone down the rabbit hole on this issue.
I am building a new web application (that will eventually have mobile apps calling APIs) using ASP.NET Core 9.x MVC.
I want to enable authenti... | https://stackoverflow.com/questions/79630989/how-would-you-merge-microsoft-account-liveid-xbox-outlook-com-etc-with-soci | asp.net-core, authentication, openid-connect | 1,747,766,221 |
se_79631294 | stackoverflow | CYBERSECURITY | Git is asking for another mode of authentication in Linux meanwhile Git in Windows push is done correctly | Git is asking for another mode of authentication in Linux meanwhile Git in Windows push is done correctly
I have a public repo on GitHub which I've cloned to my Windows(Host) and my VM with Ubuntu.
I tried to push some changes from my Ubuntu VM and I'm getting the following
remote: Support for password authentication ... | https://stackoverflow.com/questions/79631294/git-is-asking-for-another-mode-of-authentication-in-linux-meanwhile-git-in-windo | linux, windows, git, authentication, push | 1,747,783,276 |
se_3391242 | stackoverflow | CYBERSECURITY | Should I hash the password before sending it to the server side? | Should I hash the password before sending it to the server side?
I noticed that most sites send the passwords as plain text over HTTPS to the server. Is there any advantage if instead of that I sent the hash of the password to the server? Would it be more secure? | https://stackoverflow.com/questions/3391242/should-i-hash-the-password-before-sending-it-to-the-server-side | security, authentication, https | 1,280,778,720 |
se_79628916 | stackoverflow | CYBERSECURITY | Spring Boot - Two Authentication Methods for some paths | Spring Boot - Two Authentication Methods for some paths
I've got a spring-boot 3.3.2 project.
My endpoints act as an oauth2 resource server meaning they expect a JWT-Token and validate it using a given issuer.
However, there are some endpoints that should be callable by both JWT and a more or less custom made header v... | https://stackoverflow.com/questions/79628916/spring-boot-two-authentication-methods-for-some-paths | spring-boot, authentication, jwt, single-sign-on | 1,747,664,138 |
se_79630973 | stackoverflow | CYBERSECURITY | How to handle PKCE with Authlib and Google OAuth2 | How to handle PKCE with Authlib and Google OAuth2
I am trying to determine the best way to enable PKCE in Authlib for Google OAuth2 flow in a FastAPI application.
Currently, the login function is:
@auth_router.get("/login/google")
async def login_google(request: Request):
redirect_uri = FASTAPI_BACKEND_URL + "/aut... | https://stackoverflow.com/questions/79630973/how-to-handle-pkce-with-authlib-and-google-oauth2 | authentication, oauth-2.0, google-oauth, fastapi, authlib | 1,747,765,209 |
se_4869784 | stackoverflow | CYBERSECURITY | Which one should I use for "anonymous user identity"? "specific user: IUSR" or "application pool identity"? | Which one should I use for "anonymous user identity"? "specific user: IUSR" or "application pool identity"?
In IIS Manager center pane, there is an icon titled "Authentication" as follows:
Clicking the icon, we get 3 items as follows:
Right clicking the Anonymous Authentication and ... | https://stackoverflow.com/questions/4869784/which-one-should-i-use-for-anonymous-user-identity-specific-user-iusr-or | authentication, iis | 1,296,608,982 |
se_64775080 | stackoverflow | CYBERSECURITY | Access flashbag form AbstractFormLoginAuthenticator | Access flashbag form AbstractFormLoginAuthenticator
Symfony version: 5.1.8
When using a form authenticator AbstractFormLoginAuthenticator, the method onAuthenticationSuccess output a redirection.
After this redirection, I would like to display a message of success for the user who successfully logged in.
The use of th... | https://stackoverflow.com/questions/64775080/access-flashbag-form-abstractformloginauthenticator | symfony, authentication | 1,605,034,723 |
se_73069529 | stackoverflow | CYBERSECURITY | Component auth has not been registered yet at Provider.initialize | Component auth has not been registered yet at Provider.initialize
I am working on an app and using firebase authentication and at first it worked but after some time is shows this error.
Uncaught Error: Component auth has not been registered yet
at Provider.initialize
at initializeAuth
at getAuth
at index.js:32:14
H... | https://stackoverflow.com/questions/73069529/component-auth-has-not-been-registered-yet-at-provider-initialize | javascript, firebase, authentication, firebase-authentication | 1,658,420,041 |
se_60173679 | stackoverflow | CYBERSECURITY | NoReverseMatch at /login - error with LOGIN_URL or reverse function? | NoReverseMatch at /login - error with LOGIN_URL or reverse function?
I am developing an app in Django.
I am developing users authentication.
I have a registration.html and a login.html templates inside path:
templates > authentication
Everything, including the registering function, works fine, but as I try to access t... | https://stackoverflow.com/questions/60173679/noreversematch-at-login-error-with-login-url-or-reverse-function | python, django, authentication, basic-authentication, url-pattern | 1,581,439,438 |
se_6567863 | stackoverflow | CYBERSECURITY | No route matches [GET] "/users/sign_out" | No route matches [GET] "/users/sign_out"
Here is my actual error: No route matches [GET] "/members/sign_out"
Since most people will use "users" I thought it would be more helpful to have that in the title. At any rate, I am essential unable to logout. I can successfully edit my member profile.
I am using de... | https://stackoverflow.com/questions/6567863/no-route-matches-get-users-sign-out | authentication, devise, ruby-on-rails-3.1 | 1,309,759,638 |
se_79627144 | stackoverflow | CYBERSECURITY | SignInAsync function isn't attaching cookie to client browser | SignInAsync function isn't attaching cookie to client browser
I've been trying to create a Cookie-based authentication for the server side of my Blazor Auto application. As of right now, the user enters their details into a login table, the details are then sent to a controller which then uses an Auth service that... | https://stackoverflow.com/questions/79627144/signinasync-function-isnt-attaching-cookie-to-client-browser | c#, asp.net-core, authentication, blazor, blazor-server-side | 1,747,540,320 |
se_54540009 | stackoverflow | CYBERSECURITY | Python - View bot? | Python - View bot?
I'm trying to write some code for viewbot.
Code:
import requests
from bs4 import BeautifulSoup
import html5lib
import urllib
import argparse, os, time
import urllib.parse, random
headers = {
'user-agent':'Mozilla/5.0 (Linux; Android 6.0; Nexus 5 Build/MRA58N) AppleWebKit/537.36 (KHTML, like ... | https://stackoverflow.com/questions/54540009/python-view-bot | python, authentication, urllib2 | 1,549,387,866 |
se_79614490 | stackoverflow | CYBERSECURITY | In ASP.NET Core OIDC authentication, how can I set the cookie persistence based on custom data that was received from OIDC server? | In ASP.NET Core OIDC authentication, how can I set the cookie persistence based on custom data that was received from OIDC server?
I have read more than 20 OAuth and OIDC specs and I don't remember any guidance regarding the "Remember Me" feature of the authentication server. When a user authenticates in the OIDC serv... | https://stackoverflow.com/questions/79614490/in-asp-net-core-oidc-authentication-how-can-i-set-the-cookie-persistence-based | asp.net-core, authentication, oauth-2.0, openid-connect | 1,746,806,452 |
se_75186755 | stackoverflow | CYBERSECURITY | How to request API GET with Authentication (login) | How to request API GET with Authentication (login)
I have this html + script code:
<html>
<head>
<title>Curriculum</title>
<link rel="stylesheet" href="style.css">
<script type="text/javascript">
function myFunction() {
url: 'https://www.fulek.com/data/api/supit/curriculum-list/hr',
... | https://stackoverflow.com/questions/75186755/how-to-request-api-get-with-authentication-login | javascript, authentication, authorization | 1,674,231,866 |
se_79052136 | stackoverflow | CYBERSECURITY | AMADEUS API token request error Invalid parameters | AMADEUS API token request error Invalid parameters
I am working on this flight tracker project and I am using Amadeus API to get the data, I have registered and got my key but it seems I am having issues to get the authorization token. Could someone please help? I keep getting this error:
{'error': 'invalid_request',... | https://stackoverflow.com/questions/79052136/amadeus-api-token-request-error-invalid-parameters | python, authentication, oauth-2.0, amadeus | 1,727,988,778 |
se_79620975 | stackoverflow | CYBERSECURITY | Getting error assigning user ID (which is extracted from a decoded token) to req.body.userId | Getting error assigning user ID (which is extracted from a decoded token) to req.body.userId
How to find the cause and solution of my error? I can't find the cause however I try.
I would like to assign user ID (which is extracted from a decoded token) to req.body.userId. But, I'm getting error showing
TypeError: Cann... | https://stackoverflow.com/questions/79620975/getting-error-assigning-user-id-which-is-extracted-from-a-decoded-token-to-req | node.js, authentication | 1,747,209,022 |
se_70762609 | stackoverflow | CYBERSECURITY | Accessing an asp.net api which uses AspNetCore.Authentication.OpenIdConnect from postman | Accessing an asp.net api which uses AspNetCore.Authentication.OpenIdConnect from postman
I created an asp.net core API which uses openIdConnect library to authenticate users using Azure AD and it works fine when I test it from the browser but when I try to test the API from post man by generating an access token and u... | https://stackoverflow.com/questions/70762609/accessing-an-asp-net-api-which-uses-aspnetcore-authentication-openidconnect-from | asp.net, authentication, postman, openid-connect | 1,642,541,480 |
se_79619374 | stackoverflow | CYBERSECURITY | Logging out 2 applications .net blazor wasm and securing postlogoutredirect_uri | Logging out 2 applications .net blazor wasm and securing postlogoutredirect_uri
I have 2 .net8 applications using Blazor Wasm (client) and Blazor Server (Server).
Im trying to logout my user of 2 applications simultaneously and also securing the postlogout_redirect_uri.
From the Usermenu.razor.cs component on the home... | https://stackoverflow.com/questions/79619374/logging-out-2-applications-net-blazor-wasm-and-securing-postlogoutredirect-uri | authentication, azure-ad-b2c, blazor-webassembly | 1,747,128,506 |
se_57691452 | stackoverflow | CYBERSECURITY | react native google sign in - firebase invalid token | react native google sign in - firebase invalid token
Fixed:
So the token I receive from react-native-google-signin is not enough, I was also supposed to install firebase and auth with it as seen in the accepted answer, then use the token from firebase.
Original Post:
I am using react-native-google-signin to login us... | https://stackoverflow.com/questions/57691452/react-native-google-sign-in-firebase-invalid-token | firebase, react-native, authentication, google-cloud-functions, google-authentication | 1,566,992,013 |
se_33322785 | stackoverflow | CYBERSECURITY | Laravel 5 authentication on home page | Laravel 5 authentication on home page
I have tried authentication before, but it has always been with views in my auth folder. I am now doing something different and cant seem to get it working. So I have this route which displays my homepage
Route::get('/', function () {
return view('index');
});
On my homep... | https://stackoverflow.com/questions/33322785/laravel-5-authentication-on-home-page | authentication, laravel-5 | 1,445,717,335 |
se_79621272 | stackoverflow | CYBERSECURITY | How to keep Supabase session synced between Next.js app and Plasmo Chrome extension? | How to keep Supabase session synced between Next.js app and Plasmo Chrome extension?
I'm building a Chrome extension using Plasmo and a web app using Next.js (App Router).
I'm using Supabase for authentication, and I want the auth session to stay in sync between the web app and the extension.
Currently, I'm:
Logging ... | https://stackoverflow.com/questions/79621272/how-to-keep-supabase-session-synced-between-next-js-app-and-plasmo-chrome-extens | authentication, next.js, google-chrome-extension, supabase, plasmo | 1,747,218,951 |
se_66332049 | stackoverflow | CYBERSECURITY | How do I authenticate with HTTP Digest? | How do I authenticate with HTTP Digest?
I'm currently authenticating with basic, following this tutorial:
import secrets
from fastapi import FastAPI, Depends, HTTPException, status
from fastapi.security import HTTPBasic, HTTPBasicCredentials,
http_basic = HTTPBasic()
def authorize_basic(credentials: HTTPBasicCreden... | https://stackoverflow.com/questions/66332049/how-do-i-authenticate-with-http-digest | python, authentication, fastapi, digest-authentication | 1,614,078,859 |
se_74342583 | stackoverflow | CYBERSECURITY | Unable to locate file in Vite manifest: resources/sass/app.scss | Unable to locate file in Vite manifest: resources/sass/app.scss
I have installed laravel 9 and livewire. When i try to open login or registraration page from top corner it's showing this error
Can you tell me something how can i fix this one | https://stackoverflow.com/questions/74342583/unable-to-locate-file-in-vite-manifest-resources-sass-app-scss | forms, authentication, manifest, vite, laravel-9 | 1,667,801,697 |
se_79618726 | stackoverflow | CYBERSECURITY | "Sign in with Apple" intermittently returns HTTP 503 on Web (Brazil region) | "Sign in with Apple" intermittently returns HTTP 503 on Web (Brazil region)
I'm implementing "Sign in with Apple" on a web application using the standard OAuth 2.0 flow. Occasionally, requests to the https://appleid.apple.com/auth/authorize endpoint fail with an HTTP 503 (Service Temporarily Unavailable) res... | https://stackoverflow.com/questions/79618726/sign-in-with-apple-intermittently-returns-http-503-on-web-brazil-region | authentication, oauth-2.0, amazon-cognito, apple-sign-in | 1,747,090,788 |
se_79618047 | stackoverflow | CYBERSECURITY | Compulsory additional page after Register.cshtml | Compulsory additional page after Register.cshtml
I have an asp.net core Web app that stores scores for a game. Currently it goes from Register.cshtml to login then Home page. I have scaffolded the Identity pages. What I want to do is force users to another page after the register page before they go to the login page.... | https://stackoverflow.com/questions/79618047/compulsory-additional-page-after-register-cshtml | c#, asp.net-core, authentication | 1,747,059,802 |
se_36973379 | stackoverflow | CYBERSECURITY | asp.net c# login webpage SqlInternalConnection.OnError error | asp.net c# login webpage SqlInternalConnection.OnError error
I have the following problem:
I'm making a website using asp.net and C# and in the very first page is the login, the HTML is basically 2 textfields and 1 button, which request the following function:
protected void Button1_Click(object sender, EventArgs e)
... | https://stackoverflow.com/questions/36973379/asp-net-c-login-webpage-sqlinternalconnection-onerror-error | c#, asp.net, visual-studio, authentication | 1,462,147,422 |
se_78295252 | stackoverflow | CYBERSECURITY | is there a new NuGet package that replaces Microsoft.AspNetCore.Identity? | is there a new NuGet package that replaces Microsoft.AspNetCore.Identity?
I'm working on a Blazor server app, and I found out that Microsoft.AspNetCore.Identity 2.2.0 NuGet package is deprecated. Is there a new package that replaces it? or something to make use of for customizing data about the logged in user? Thank y... | https://stackoverflow.com/questions/78295252/is-there-a-new-nuget-package-that-replaces-microsoft-aspnetcore-identity | asp.net-core, authentication, nuget, identity | 1,712,613,747 |
se_79615283 | stackoverflow | CYBERSECURITY | passport:key and passport:install error in laravel | passport:key and passport:install error in laravel
I created a laravel project from scratch using composer and I am using mysql as my database. I connected my database with my laravel project in the .env file in laravel.
Then I require passport to my app using this command:
php artisan install:api --passport and it su... | https://stackoverflow.com/questions/79615283/passportkey-and-passportinstall-error-in-laravel | laravel, authentication, oauth-2.0, laravel-passport | 1,746,864,092 |
se_79615036 | stackoverflow | CYBERSECURITY | 401 Unauthorized error when trying to access /api/user/is-auth in React with Axios | 401 Unauthorized error when trying to access /api/user/is-auth in React with Axios
I’m building a web application using React and Axios. I’m trying to check if a user is authenticated by calling the /api/user/is-auth endpoint. However, I’m getting the following error:
GET http://localhost:4000/api/user/is-auth 401 (Un... | https://stackoverflow.com/questions/79615036/401-unauthorized-error-when-trying-to-access-api-user-is-auth-in-react-with-axi | reactjs, express, authentication, axios, jwt | 1,746,838,816 |
se_79558801 | stackoverflow | CYBERSECURITY | Cannot access Auth object from Laravel 9 Nwidart module | Cannot access Auth object from Laravel 9 Nwidart module
For some reason, I am unable to access the Auth object from a Nwidart module in a Laravel 9 application, whether I try to access it from one of the module's controllers or from one of the main application's controllers. It obviously exists when the navigation par... | https://stackoverflow.com/questions/79558801/cannot-access-auth-object-from-laravel-9-nwidart-module | php, laravel, authentication, module | 1,743,977,766 |
se_79174887 | stackoverflow | CYBERSECURITY | NextJS authentication with separate backend (How to make subsequent http-requests to token-protected routes) | NextJS authentication with separate backend (How to make subsequent http-requests to token-protected routes)
I've googled enough. Almost every topic-related guide on the Internet ends after showing example of storing token into cookies and maybe session refresh example. But for me, the most interesting (and hard) part... | https://stackoverflow.com/questions/79174887/nextjs-authentication-with-separate-backend-how-to-make-subsequent-http-request | authentication, next.js, cookies, authorization, nextjs14 | 1,731,241,298 |
se_79615055 | stackoverflow | CYBERSECURITY | Clerk's Expo Setup Not Working or a Rookie React Native Mistake? | Clerk's Expo Setup Not Working or a Rookie React Native Mistake?
I'm trying to follow Simon Grimm's tutorial on how to integrate Clerk Auth into a React Native app, but so far nothing happens. I've also tried to adapt it to what's on the updated Clerk docs, such as the newer useSSO() function instead of useAuth(),... | https://stackoverflow.com/questions/79615055/clerks-expo-setup-not-working-or-a-rookie-react-native-mistake | typescript, react-native, authentication, tsx, clerk | 1,746,840,302 |
se_79608113 | stackoverflow | CYBERSECURITY | It thinks that page only allows for Get, Head, so on posting, it gets an error: method not allowed | It thinks that page only allows for Get, Head, so on posting, it gets an error: method not allowed
Logging in directly from a blazor page apparently isn't allowed as I get a warning that the headers have already been modified when it tries to set the cookies.
Supposedly, the work around is to add a hidden .cshtml razo... | https://stackoverflow.com/questions/79608113/it-thinks-that-page-only-allows-for-get-head-so-on-posting-it-gets-an-error | c#, asp.net-core, authentication | 1,746,513,117 |
se_68306630 | stackoverflow | CYBERSECURITY | What to use for "Sign in with Google" button's data-login_uri attribute? | What to use for "Sign in with Google" button's data-login_uri attribute?
I'm trying to implement a "Sign in with Google" button, as documented here:
https://developers.google.com/identity/gsi/web/guides/display-button
I'm confused by what it expects for data-login_uri as illustrated below (taken from the... | https://stackoverflow.com/questions/68306630/what-to-use-for-sign-in-with-google-buttons-data-login-uri-attribute | authentication, google-signin, google-authentication, google-account, google-client-login | 1,625,767,300 |
se_79608901 | stackoverflow | CYBERSECURITY | ASP.NET authentication not expiring | ASP.NET authentication not expiring
I'm having an issue that no amount of googling or AI input is helping me identify where I'm going wrong. I have a sample ASP.NET MVC application that sets up authentication using the following code. It successfully forces the user to log in, and I even have log out successfully clea... | https://stackoverflow.com/questions/79608901/asp-net-authentication-not-expiring | asp.net-mvc, authentication, keycloak, openid | 1,746,541,252 |
se_71579601 | stackoverflow | CYBERSECURITY | react render blank screen when redirect ( no Switch from react-router-dom ) | react render blank screen when redirect ( no Switch from react-router-dom )
I am using a template and it uses an old version of react & routing
and I want to redirect user to login if not
but this template has a different routing method
in app.js.
"react-router-dom": "^4.3.1",
"react": "^16.6.3",
"react-dom": "^16.... | https://stackoverflow.com/questions/71579601/react-render-blank-screen-when-redirect-no-switch-from-react-router-dom | javascript, reactjs, authentication, routes, react-router | 1,647,987,525 |
se_38736721 | stackoverflow | CYBERSECURITY | Oauth service for LDAP authentication | Oauth service for LDAP authentication
We have a scenario where we have to authenticate the user with LDAP server
Flow 1:
client --> application server --> LDAP server
In above flow the client enters LDAP credentials which comes to application server and then using python-ldap we can authenticate the user, straight... | https://stackoverflow.com/questions/38736721/oauth-service-for-ldap-authentication | authentication, oauth, ldap | 1,470,208,190 |
se_79600805 | stackoverflow | CYBERSECURITY | Trying to link an existing Cognito user with a newly created Federated user with different emails | Trying to link an existing Cognito user with a newly created Federated user with different emails
I have a particular auth flow that requires us to verify a user's email domain before allowing them to login, but we also want them to be able to log in with any method they want
The login flow looks like this:
User regi... | https://stackoverflow.com/questions/79600805/trying-to-link-an-existing-cognito-user-with-a-newly-created-federated-user-with | authentication, aws-lambda, oauth-2.0, amazon-cognito, amazon-cognito-triggers | 1,746,032,825 |
se_79612601 | stackoverflow | CYBERSECURITY | How to request claims from AD for the current user? | How to request claims from AD for the current user?
I have an ASP.NET Core web app using Windows authentication. I can get the authenticated user by inspecting the IHttpContextAccessor.HttpContext.User object. The claims are provided by Active Directory. However, not all claims are present.
For example, I want the ema... | https://stackoverflow.com/questions/79612601/how-to-request-claims-from-ad-for-the-current-user | asp.net-core, authentication, active-directory, claims | 1,746,714,070 |
se_67285946 | stackoverflow | CYBERSECURITY | How to store the jwt token on a flutter website for the moment the site is reloaded? | How to store the jwt token on a flutter website for the moment the site is reloaded?
I have a website build with flutter web that accesses an API that is also accessed by other servers in my system.
The API provides a login endpoint where you can login and get a jwt token.
My website does this ans stores the token in ... | https://stackoverflow.com/questions/67285946/how-to-store-the-jwt-token-on-a-flutter-website-for-the-moment-the-site-is-reloa | flutter, authentication, jwt | 1,619,536,816 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.