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_79563452 | stackoverflow | CYBERSECURITY | Fetching private API after login with token stored in cookies using authentication middleware | Fetching private API after login with token stored in cookies using authentication middleware
I am trying to create a login system that generates a token and stores it using cookies. I am using authentication middleware. However, when I try to fetch a private API after logging in, it is not working. No errors are bein... | https://stackoverflow.com/questions/79563452/fetching-private-api-after-login-with-token-stored-in-cookies-using-authenticati | node.js, authentication, session-cookies | 1,744,172,688 |
se_48692441 | stackoverflow | CYBERSECURITY | ASP.NET MVC 5 Windows authentication workaround | ASP.NET MVC 5 Windows authentication workaround
updated
I am working with a project (lets call it project A) which runs on ASP.NET MVC 5 and uses Windows authentication in order to proceed with its users. project A has db A behind it. Also there is totally separated project B. It is a console application, which has it... | https://stackoverflow.com/questions/48692441/asp-net-mvc-5-windows-authentication-workaround | c#, asp.net, authentication, asp.net-mvc-5, windows-authentication | 1,518,114,601 |
se_78448520 | stackoverflow | CYBERSECURITY | Can I use Azure's Python SDK to control a UAMI and interact with VMs? | Can I use Azure's Python SDK to control a UAMI and interact with VMs?
I am developing a command line tool which will work across different cloud platforms to read, start and stop (deallocate) virtual machines. I have this working in AWS with EC2 instances, using boto3, but I don't understand how to achieve the sam... | https://stackoverflow.com/questions/78448520/can-i-use-azures-python-sdk-to-control-a-uami-and-interact-with-vms | azure, authentication, azure-python-sdk | 1,715,171,283 |
se_54814027 | stackoverflow | CYBERSECURITY | multiple authentication methods with same REST resources | multiple authentication methods with same REST resources
Let's suppose you are building REST APIs which will be accessed from different kinds of consumers (human users, things, untrusted native apps) so each of them has its own authentication method, for technical or "historical" decisions.
For instance, users use JW... | https://stackoverflow.com/questions/54814027/multiple-authentication-methods-with-same-rest-resources | rest, http, authentication, api-design | 1,550,774,206 |
se_78564996 | stackoverflow | CYBERSECURITY | Why is lexik-jwt bundle returning an empty token with correct credentials? | Why is lexik-jwt bundle returning an empty token with correct credentials?
First of all: I am using apiplatform to create a pwa which can be used as a GUI to request backend api routes with ease which uses symfony and a jwt token bundle called lexik-jwt.
So my current state of my backend application is that the auth r... | https://stackoverflow.com/questions/78564996/why-is-lexik-jwt-bundle-returning-an-empty-token-with-correct-credentials | authentication, symfony, jwt, api-platform | 1,717,279,146 |
se_79562461 | stackoverflow | CYBERSECURITY | V1Meta Authenticate Using SSO | V1Meta Authenticate Using SSO
In the Python SDK README, the example for instantiating a V1Meta instance looks like:
with V1Meta(
instance_url = 'https:// ...`,
username = 'admin',
password = 'admin'
) as v1:
What would that look like if rather than authenticating with username and password, I need to use the ... | https://stackoverflow.com/questions/79562461/v1meta-authenticate-using-sso | python, authentication, versionone | 1,744,125,754 |
se_77760514 | stackoverflow | CYBERSECURITY | How to retrieve secret from Azure Key Vault from console application | How to retrieve secret from Azure Key Vault from console application
I want to execute a console application on a remote machine with a service account that retrieves a secret from Azure Key Vault, so I do not have to put this secret in the source code or any kind of config file.
I was able to create the secret and pe... | https://stackoverflow.com/questions/77760514/how-to-retrieve-secret-from-azure-key-vault-from-console-application | authentication, console-application, .net-6.0, azure-keyvault | 1,704,393,791 |
se_55834452 | stackoverflow | CYBERSECURITY | ASP.NET Core - getting a message back from AuthenticationHandler | ASP.NET Core - getting a message back from AuthenticationHandler
I have implemented a subclass of AuthenticationHandler. It returns AuthenticationResult.Fail("This is why you can't log in");
I would have expected this message to end up in the body, or at least in the HTTP status text, but instead I get a blank 401 re... | https://stackoverflow.com/questions/55834452/asp-net-core-getting-a-message-back-from-authenticationhandler | asp.net, authentication, asp.net-core | 1,556,122,444 |
se_75443069 | stackoverflow | CYBERSECURITY | I need to refresh the page to login | React and Axios | I need to refresh the page to login | React and Axios
I have a problem when I want to log in to the login by entering the email and password. What happens is that when I enter with the correct email and correct password, the animation appears but it stays cycled, and if I refresh the page and try again, now it lets me... | https://stackoverflow.com/questions/75443069/i-need-to-refresh-the-page-to-login-react-and-axios | reactjs, authentication, axios | 1,676,343,546 |
se_79561787 | stackoverflow | CYBERSECURITY | Assign Azure Entra Group to Azure SQL Server Role | Assign Azure Entra Group to Azure SQL Server Role
Azure SQL Server provides a set of Server Roles (https://learn.microsoft.com/en-us/azure/azure-sql/database/security-server-roles?view=azuresql#fixed-server-level-roles)
I want to assign a Azure Entra (Active Directory) Group to a Azure SQL Server Role. Which would all... | https://stackoverflow.com/questions/79561787/assign-azure-entra-group-to-azure-sql-server-role | authentication, azure-sql-database, azure-service-principal | 1,744,108,468 |
se_76571651 | stackoverflow | CYBERSECURITY | Implement authentication with MagicCode | Implement authentication with MagicCode
I'm currently trying to build a new system that would mimic how you could log in on a smart TV with Netflix/AmazonPrime/Disney+ :
A code is displayed on the device A.
You enter this code on an authenticated device B.
The Device A gets token so it could communicate as authentica... | https://stackoverflow.com/questions/76571651/implement-authentication-with-magiccode | authentication, webhooks, one-time-password | 1,687,943,156 |
se_79560834 | stackoverflow | CYBERSECURITY | Want to forbid a user when not authorized/authenticated - but getting "No authenticationScheme was specified, and there was no DefaultChallengeScheme" | Want to forbid a user when not authorized/authenticated - but getting "No authenticationScheme was specified, and there was no DefaultChallengeScheme"
I have an API controller function that is currently decorated with the [Authorize] attribute. This is mostly fit for purpose as is, likely by luck rather than... | https://stackoverflow.com/questions/79560834/want-to-forbid-a-user-when-not-authorized-authenticated-but-getting-no-authen | c#, asp.net, .net, authentication, authorization | 1,744,061,718 |
se_77076718 | stackoverflow | CYBERSECURITY | Next-auth session immediately becomes unauthenticated after successful login in a Next.js app | Next-auth session immediately becomes unauthenticated after successful login in a Next.js app
I'm using next-auth in my Next.js app for authentication. After successfully logging in, I'm immediately redirected to the login page, indicating that the session has become unauthenticated.
Relevant code snippets:
_app.tsx:
... | https://stackoverflow.com/questions/77076718/next-auth-session-immediately-becomes-unauthenticated-after-successful-login-in | authentication, session, next.js, jwt, next-auth | 1,694,359,341 |
se_79559798 | stackoverflow | CYBERSECURITY | Produce 403 from custom AuthenticationHandler | Produce 403 from custom AuthenticationHandler
I'm writing a custom authentication handler since the token I have is not standard. I've added my token validation logic to HandleAuthenticateAsync and return AuthenticateResult.Fail("[reason]") when some part of validation fails.
The token has Aud claim that stores audien... | https://stackoverflow.com/questions/79559798/produce-403-from-custom-authenticationhandler | c#, asp.net-core, authentication, .net-8.0 | 1,744,026,324 |
se_79560871 | stackoverflow | CYBERSECURITY | auth.js working ok in localhost but not working after deploy on vercel | auth.js working ok in localhost but not working after deploy on vercel
I'm learning Next.js. I have a problem with NextAuth (Auth.js): it works correctly on localhost, but after deploying to Vercel, it doesn't work, and I get this error:
Server Error
There is a problem with the server configuration.
Check the server l... | https://stackoverflow.com/questions/79560871/auth-js-working-ok-in-localhost-but-not-working-after-deploy-on-vercel | authentication, next.js | 1,744,063,806 |
se_7536598 | stackoverflow | CYBERSECURITY | Good example of application that uses rails and backbone.js that handles authentication through backbone | Good example of application that uses rails and backbone.js that handles authentication through backbone
Does anybody know of a good example I could look at as to how to go about implementing authentication through backbone with rails?
I haven't been able to find anything.. | https://stackoverflow.com/questions/7536598/good-example-of-application-that-uses-rails-and-backbone-js-that-handles-authent | ruby-on-rails, authentication, backbone.js | 1,316,831,211 |
se_72970180 | stackoverflow | CYBERSECURITY | Using TidIMAP4 component to retrieve email, need to switch to using Modern Authentication | Using TidIMAP4 component to retrieve email, need to switch to using Modern Authentication
I have a program that I wrote that monitors a mail box and retrieves messages and puts contents in a database. My email administrators have notified me that my application is using Basic Authentication and that Microsoft will dr... | https://stackoverflow.com/questions/72970180/using-tidimap4-component-to-retrieve-email-need-to-switch-to-using-modern-authe | email, authentication, delphi, imap, indy | 1,657,732,367 |
se_33551770 | stackoverflow | CYBERSECURITY | What's the most reliable way to detect if the user is logging in from a different device than usual? | What's the most reliable way to detect if the user is logging in from a different device than usual?
I suspect we're all familiar with how facebook and google and the like detect if you're using a different device than usual, I was wondering what the most reliable way to do this is?
I'm talking about the old 'It ... | https://stackoverflow.com/questions/33551770/whats-the-most-reliable-way-to-detect-if-the-user-is-logging-in-from-a-differen | security, authentication, cookies, browser | 1,446,746,948 |
se_74146705 | stackoverflow | CYBERSECURITY | How to add a middleware for user permission plug-in for strapi? | How to add a middleware for user permission plug-in for strapi?
I am trying to add a middleware or policy to the user permission plugin in strapi but unfortunately it is not calling the plug in
{
method: "GET",
path: '/users',
handler: 'user.find',
config: {
middlewares: [
(ctx, next) => {
co... | https://stackoverflow.com/questions/74146705/how-to-add-a-middleware-for-user-permission-plug-in-for-strapi | authentication, strapi, user-permissions | 1,666,302,964 |
se_79555117 | stackoverflow | CYBERSECURITY | How to implement both direct user login and OAuth2 provider support in a Spring Boot application? | How to implement both direct user login and OAuth2 provider support in a Spring Boot application?
I’m building an authentication and authorization system using Spring Boot and OAuth2 and would like to support two main use cases, similar to how Gmail handles authentication:
Use Case 1: Direct Login (Custom Login Page u... | https://stackoverflow.com/questions/79555117/how-to-implement-both-direct-user-login-and-oauth2-provider-support-in-a-spring | java, spring-boot, authentication, oauth-2.0, jwt | 1,743,764,122 |
se_79553951 | stackoverflow | CYBERSECURITY | app.component ngOnInit loads after component ngOnInit | app.component ngOnInit loads after component ngOnInit
I am using a signal to store the logged in user. When loading a page I want to load the logged in user from a token. This is done in ngOnInit in app.component:
ngOnInit(): void {
// Check if `the user is logged in
const token = localStorage.getItem('token');
if (to... | https://stackoverflow.com/questions/79553951/app-component-ngoninit-loads-after-component-ngoninit | angular, authentication, angular-signals | 1,743,711,544 |
se_38017486 | stackoverflow | CYBERSECURITY | How do I login in to phpMyAdmin? | How do I login in to phpMyAdmin?
I recently installed phpMyAdmin (with Xampp), but I don't know how it works and I find no solution to my problem on the internet and also not on this forum.
First of all my problem:
I don't know what I have to type in as login information right here.! I can get into phpMyAdmin with '/l... | https://stackoverflow.com/questions/38017486/how-do-i-login-in-to-phpmyadmin | mysql, authentication, phpmyadmin | 1,466,783,764 |
se_79550578 | stackoverflow | CYBERSECURITY | JWT can't authorize specified role | JWT can't authorize specified role
In this .NET 8 project, generated JWT can authenticate in system, but fails to pass [Authorize(Roles = "user")] and returns 403 Forbidden
As can be seen, JWT payload has role: "user":
"http://schemas.xmlsoap.org/ws/2005/05/identity/claims/nameidentifier": "1",
"email": "arctur... | https://stackoverflow.com/questions/79550578/jwt-cant-authorize-specified-role | asp.net-core, authentication, jwt, authorization | 1,743,595,564 |
se_32390417 | stackoverflow | CYBERSECURITY | How to provide temporary download url in Flask? | How to provide temporary download url in Flask?
Currently, my index.html file contains
<a href="static/file.ext">Download</a>
I want to change this so that the download url is only valid for a certain time. For example, how would I change it to
<a href="get_file?file=file.ext&token=TEMPORARYTOKEN">Download</a>
I... | https://stackoverflow.com/questions/32390417/how-to-provide-temporary-download-url-in-flask | python, authentication, download, flask, session-timeout | 1,441,342,870 |
se_79552211 | stackoverflow | CYBERSECURITY | I am facing an issue with Google Sign-Up using Clerk authentication | I am facing an issue with Google Sign-Up using Clerk authentication
When I attempt to sign up directly with Google, I receive a 422 Unprocessable Content error in the network response. The error message states: "oauth_callback does not match one of the allowed values for parameter strategy"
It seems to be related to t... | https://stackoverflow.com/questions/79552211/i-am-facing-an-issue-with-google-sign-up-using-clerk-authentication | reactjs, authentication, google-oauth, clerk | 1,743,663,660 |
se_77263314 | stackoverflow | CYBERSECURITY | Not signed in Earth Enine or Project is not Registered | Not signed in Earth Enine or Project is not Registered
Hi I am attempting to use the Python API to access google earth engine from VsCode.
When I enter,
import ee
ee.Authenticate()
ee.Initialize()
I get the following error for ee.Initialize() step - "ee.ee_exception.EEException: Not signed up for Earth Engine or pro... | https://stackoverflow.com/questions/77263314/not-signed-in-earth-enine-or-project-is-not-registered | python, authentication, google-earth-engine | 1,696,918,756 |
se_79530455 | stackoverflow | CYBERSECURITY | Custom plugin routes are not accessible using API tokens | Custom plugin routes are not accessible using API tokens
I am using strapi V4. I have created the custom plugin where I have defined some routes in the src/plugins/{plugin_id}/server/routes/index.js
I want to authenticate these endpoints with the API token but the problem is that when I generate the token, those route... | https://stackoverflow.com/questions/79530455/custom-plugin-routes-are-not-accessible-using-api-tokens | authentication, plugins, strapi | 1,742,802,833 |
se_79551878 | stackoverflow | CYBERSECURITY | Conditional .NET Core Authorization | Conditional .NET Core Authorization
I am using a .NET Core 3.1 Auth Middleware, and its working. I set a AddAuthentication() and a AddAuthorization() on Startup.cs, set some Headers on my Controller's request, like this "ISApiRunning" method:
It works great, I can even validate the roles based on the JWT I generated.... | https://stackoverflow.com/questions/79551878/conditional-net-core-authorization | asp.net-core, authentication, .net-core, authorization | 1,743,647,193 |
se_18741054 | stackoverflow | CYBERSECURITY | Extra authentication criteria | Extra authentication criteria
I'm trying to implement an extra authentication layer with the purpose of authenticating the user only if he has a certain status.
If the status is different, I want to show a custom login error (Your account has been suspended) and not authenticate the user at all, similar to what happen... | https://stackoverflow.com/questions/18741054/extra-authentication-criteria | authentication, symfony, symfony2 | 1,378,902,037 |
se_75907311 | stackoverflow | CYBERSECURITY | redirect to home after login using React react-router and usenavigate not working? | redirect to home after login using React react-router and usenavigate not working?
I want the user to be redirected to the home page after successfully logging in, I store the data of the api request to log in the user in a variable called currentUser, so if currentUser is true it should redirect to home.
this is how ... | https://stackoverflow.com/questions/75907311/redirect-to-home-after-login-using-react-react-router-and-usenavigate-not-workin | javascript, reactjs, authentication, react-router | 1,680,364,921 |
se_79548203 | stackoverflow | CYBERSECURITY | Use authentication with cookies instead of losing login on page refresh | Use authentication with cookies instead of losing login on page refresh
I am working on an internal tool (MudBlazor, C# .NET 8) that displays data from a database. The application uses authentication, managed by a CustomAuthStateProvider, which allows users to log in and out. Certain actions are restricted to authenti... | https://stackoverflow.com/questions/79548203/use-authentication-with-cookies-instead-of-losing-login-on-page-refresh | c#, asp.net-core, authentication, blazor | 1,743,499,340 |
se_79542245 | stackoverflow | CYBERSECURITY | How can I make a request from a Shopify Liquid theme to an authenticated route in a Remix app? | How can I make a request from a Shopify Liquid theme to an authenticated route in a Remix app?
I have a Liquid file in Shopify with a form on it. When the form is submitted, I make a request to a route in my Remix app:
fetch('https://my-proxy-url.trycloudflare.com/api/entrants', {
method: 'post',
body: JSON.string... | https://stackoverflow.com/questions/79542245/how-can-i-make-a-request-from-a-shopify-liquid-theme-to-an-authenticated-route-i | authentication, shopify, liquid, shopify-app | 1,743,189,169 |
se_79243175 | stackoverflow | CYBERSECURITY | SAML authentication getting failed sometimes with Credential Expired Exception | SAML authentication getting failed sometimes with Credential Expired Exception
We are using Spring Security SAML Extension Project. But we are experiencing some weird issue with the users as stated below,
We have set the maxAuthenticationAge to 8 hours in the WebSSOProfileConsumer bean like below,
@Bean
public WebSSOP... | https://stackoverflow.com/questions/79243175/saml-authentication-getting-failed-sometimes-with-credential-expired-exception | spring-boot, authentication, spring-mvc, spring-security, spring-saml | 1,733,122,222 |
se_79547481 | stackoverflow | CYBERSECURITY | How do I add basic authentication on certain API calls in an ASP.NET Core website using Identity | How do I add basic authentication on certain API calls in an ASP.NET Core website using Identity
I have an ASP.NET Core web application that is using Identity for authentication and authorization. This allows me to register users easily in the website and it all works as expected.
However, the website also publishes a... | https://stackoverflow.com/questions/79547481/how-do-i-add-basic-authentication-on-certain-api-calls-in-an-asp-net-core-websit | asp.net-core, authentication, basic-authentication, asp.net-core-identity | 1,743,467,348 |
se_74835309 | stackoverflow | CYBERSECURITY | How to display logged in username on the screen | express session | How to display logged in username on the screen | express session
I want take the user info like email , username and display it on dashboard.ejs . i tried req.session.username and req.body.username but never worked . please help me in this !!
i want handle profile management for the web so by retriving the username h... | https://stackoverflow.com/questions/74835309/how-to-display-logged-in-username-on-the-screen-express-session | express, authentication, session, express-session | 1,671,291,254 |
se_79543927 | stackoverflow | CYBERSECURITY | Custom Auth UI using AWS Cognito, AWS SDK, and connection it to my Rocket Chat applicaiton | Custom Auth UI using AWS Cognito, AWS SDK, and connection it to my Rocket Chat applicaiton
I'm working on creating a custom authentication user interface for my Rocket.Chat application. For this, I'm using AWS Cognito and the AWS SDK for communication with Cognito. I'm not using the default user interface provided by ... | https://stackoverflow.com/questions/79543927/custom-auth-ui-using-aws-cognito-aws-sdk-and-connection-it-to-my-rocket-chat-a | authentication, oauth, amazon-cognito, aws-sdk, rocket.chat | 1,743,284,409 |
se_72452205 | stackoverflow | CYBERSECURITY | PasswordSignInAsync returns null when attempting to Login | PasswordSignInAsync returns null when attempting to Login
I am using razor pages for the first time and I would like to try to implement identity for a school project. Identity is confusing and I would like some help to diagnose the problem here.
I am currently using visual studio 2022 , .NET6 ,razor pages , Identity ... | https://stackoverflow.com/questions/72452205/passwordsigninasync-returns-null-when-attempting-to-login | c#, authentication, asp.net-identity, razor-pages, claims | 1,654,019,626 |
se_79545803 | stackoverflow | CYBERSECURITY | Blazor Server: forceLoad: true causes "IAuthenticationService" error on page navigation | Blazor Server: forceLoad: true causes "IAuthenticationService" error on page navigation
I am working on an internal tool that displays data from a database. The application uses authentication, managed by a CustomAuthStateProvider, which allows users to log in and out. Certain actions are restricted to authe... | https://stackoverflow.com/questions/79545803/blazor-server-forceload-true-causes-iauthenticationservice-error-on-page-nav | c#, asp.net-core, authentication, blazor | 1,743,409,827 |
se_79540480 | stackoverflow | CYBERSECURITY | Confusing about 'jku' header in JWT | Confusing about 'jku' header in JWT
I've just finished a PortSwigger lab about exploiting JWT with jku header injection, but there's a problem I couldn't understand.
My issue relates specifically to the signature in JWT, so I won't go too deep into the lab's details.
Basically, the lab involves bypassing JWT v... | https://stackoverflow.com/questions/79540480/confusing-about-jku-header-in-jwt | authentication, oauth-2.0, oauth, jwt | 1,743,133,687 |
se_76136482 | stackoverflow | CYBERSECURITY | containerd v1.4+ - How to authenticate by config? | containerd v1.4+ - How to authenticate by config?
I'm using containerd as container engine for my Kubernetes cluster.
I only have access to a shared IP, so the docker-rate-limit is exhausted most of the time.
Therefore, I wanna use my docker account to increase my limit.
But how to configure the docker credentials to ... | https://stackoverflow.com/questions/76136482/containerd-v1-4-how-to-authenticate-by-config | docker, authentication, registry, oracle-cloud-infrastructure, containerd | 1,682,774,830 |
se_79515194 | stackoverflow | CYBERSECURITY | Angular NGXS Auth Guard: How to solve Race Condition with User State | Angular NGXS Auth Guard: How to solve Race Condition with User State
I’m experiencing a race condition when using an auth guard with NGXS state management in an Angular application. The guard should check if the user is authenticated and has the required roles before granting access. However, the user state is null in... | https://stackoverflow.com/questions/79515194/angular-ngxs-auth-guard-how-to-solve-race-condition-with-user-state | angular, authentication, rxjs | 1,742,229,330 |
se_79540556 | stackoverflow | CYBERSECURITY | Flutter Web google_sign_in renderButton freezing log in process | Flutter Web google_sign_in renderButton freezing log in process
On Flutter web, the google_sign_in package renderButton is successfully prompting me to log in with google, but when I select an account, it gets stuck on "https://accounts.google.com/gsi/transform". My code is based on this example from the google_sign_... | https://stackoverflow.com/questions/79540556/flutter-web-google-sign-in-renderbutton-freezing-log-in-process | flutter, dart, authentication, google-signin, project-idx | 1,743,137,821 |
se_18152390 | stackoverflow | CYBERSECURITY | Automatically logon user when another user logs out using PowerShell | Automatically logon user when another user logs out using PowerShell
I am building a Windows embedded kiosk application that automatically logs in a default user on boot and launches the kiosk application. Once this occurs, the user cannot interact with any windows features, only the kiosk application.
However, when... | https://stackoverflow.com/questions/18152390/automatically-logon-user-when-another-user-logs-out-using-powershell | powershell, authentication, windows-embedded | 1,376,069,419 |
se_70954467 | stackoverflow | CYBERSECURITY | chrome.identity.getAuthToken call skipping choosing account and directly asking for permission while implementing OAuth2 google sign in | chrome.identity.getAuthToken call skipping choosing account and directly asking for permission while implementing OAuth2 google sign in
I have been trying to implement google sign in using OAuth 2 in my chrome extension. For doing so I am using the chrome identity API. But the problem is that when I load up the extens... | https://stackoverflow.com/questions/70954467/chrome-identity-getauthtoken-call-skipping-choosing-account-and-directly-asking | authentication, google-chrome-extension, oauth-2.0, google-authentication | 1,643,799,787 |
se_43210261 | stackoverflow | CYBERSECURITY | .Net Core ReportExecutionServiceSoapClient set credentials | .Net Core ReportExecutionServiceSoapClient set credentials
I am using ReportExecutionServiceSoapClient in .Net Core i got the latest version of .net Core and tried to get a report from reporting services to work. after I've used the WCF connection service I was able to add the code with looks like bellow
// Instantiat... | https://stackoverflow.com/questions/43210261/net-core-reportexecutionservicesoapclient-set-credentials | wcf, authentication, soap, reporting-services, asp.net-core | 1,491,316,476 |
se_72862886 | stackoverflow | CYBERSECURITY | Keep user signed in with "Sign in with Google" WITHOUT automatic sign in | Keep user signed in with "Sign in with Google" WITHOUT automatic sign in
How do I prevent users from being signed out after only 1 hour when using google sign in?
automatic sign in is not a solution because it does not work with users with multiple google accounts, forcing the user to choose their account ea... | https://stackoverflow.com/questions/72862886/keep-user-signed-in-with-sign-in-with-google-without-automatic-sign-in | javascript, node.js, authentication, google-signin, google-api-nodejs-client | 1,656,979,443 |
se_53464 | stackoverflow | CYBERSECURITY | How to stop IIS asking authentication for default website on localhost | How to stop IIS asking authentication for default website on localhost
I have IIS 5.1 installed on Windows XP Pro SP2. Besides I have installed VS 2008 Express with .NET 3.5. So obviously IIS is configured for ASP.NET automatically for .NET 3.5
The problem is whenever I access http://localhost IE & Firefox both presen... | https://stackoverflow.com/questions/53464/how-to-stop-iis-asking-authentication-for-default-website-on-localhost | internet-explorer, iis, authentication | 1,221,024,054 |
se_51000708 | stackoverflow | CYBERSECURITY | Why am I stuck in a credentials prompt loop for an ASP.NET MVC web.config authorization setting? | Why am I stuck in a credentials prompt loop for an ASP.NET MVC web.config authorization setting?
What I did so far:
Created the website with this web.config (this is just the settings part, not the entire file :) )
<appSettings>
<add key="webpages:Version" value="3.0.0.0"/>
<add key="webpages:Enabled" value="false"... | https://stackoverflow.com/questions/51000708/why-am-i-stuck-in-a-credentials-prompt-loop-for-an-asp-net-mvc-web-config-author | c#, asp.net-mvc, authentication, windows-authentication | 1,529,753,246 |
se_10351075 | stackoverflow | CYBERSECURITY | Allow anonymous authentication for a single folder in web.config? | Allow anonymous authentication for a single folder in web.config?
So here is the scenario, I have an ASP.NET application that is using a custom authentication & membership provider but we need to allow completely anonymous access (i.e.) to a particular folder within the application.
In IIS manager, you can set the aut... | https://stackoverflow.com/questions/10351075/allow-anonymous-authentication-for-a-single-folder-in-web-config | asp.net, authentication, web-config | 1,335,531,603 |
se_49341675 | stackoverflow | CYBERSECURITY | Oauth 2.0 Linkedin Client authentication failed | Oauth 2.0 Linkedin Client authentication failed
I'm trying to connect an account through the Linkedin API, I can't actually understand my mistake with the following Linkedin official Oauth tutorial.
I get {'error': 'invalid_client', 'error_description': 'Client authentication failed'} in the step 3, when I exchange m... | https://stackoverflow.com/questions/49341675/oauth-2-0-linkedin-client-authentication-failed | authentication, oauth-2.0, client, linkedin-api | 1,521,319,076 |
se_79539890 | stackoverflow | CYBERSECURITY | Refresh Token Rotation on Next.js 15 | Refresh Token Rotation on Next.js 15
What I want
I am developing an app in Next.js 15, and for authorization, I want to use JWT and Refresh Token, following this process:
When a user visits a restricted page, the system checks whether they have an access_token cookie (a JWT with a validity of 7 minutes), which contai... | https://stackoverflow.com/questions/79539890/refresh-token-rotation-on-next-js-15 | javascript, authentication, cookies, jwt, refresh-token | 1,743,104,743 |
se_79541555 | stackoverflow | CYBERSECURITY | Power BI + LinkedIn API - Error integrating Community Management API with Power BI | Power BI + LinkedIn API - Error integrating Community Management API with Power BI
[Power BI + LinkedIn API] Error integrating Community Management API with Power BI
Hello, I am developing an integration between the LinkedIn Community Management API and Power BI to automate the extraction of post and engagement data f... | https://stackoverflow.com/questions/79541555/power-bi-linkedin-api-error-integrating-community-management-api-with-power | authentication, oauth-2.0, powerbi, oauth, linkedin-api | 1,743,168,620 |
se_23658820 | stackoverflow | CYBERSECURITY | What is the purpose of creating a login from a certificate? | What is the purpose of creating a login from a certificate?
SQL Server provides the option to create a login from a certificate. E.g.
USE MASTER;
CREATE CERTIFICATE <certificateName>
WITH SUBJECT = '<loginName> certificate in master database',
EXPIRY_DATE = '12/05/2025';
GO
CREATE LOGIN <loginName> FROM CERTIF... | https://stackoverflow.com/questions/23658820/what-is-the-purpose-of-creating-a-login-from-a-certificate | sql-server, authentication, ssl-certificate, client-certificates | 1,400,080,842 |
se_2840559 | stackoverflow | CYBERSECURITY | Is encrypting session id (or other authenticate value) in cookie useful at all? | Is encrypting session id (or other authenticate value) in cookie useful at all?
In web development, when session state is enabled, a session id is stored in cookie(in cookieless mode, query string will be used instead). In asp.net, the session id is encrypted automatically. There are plenty of topics on the internet r... | https://stackoverflow.com/questions/2840559/is-encrypting-session-id-or-other-authenticate-value-in-cookie-useful-at-all | asp.net, security, authentication, session, cookies | 1,273,935,744 |
se_79541212 | stackoverflow | CYBERSECURITY | Authentication is not working for file upload in C# ASP.NET | Authentication is not working for file upload in C# ASP.NET
I have a logic where user is uploading file to get insert into the database. As far as Security point is concerned, my tester told me to implement Authentication and Authorization.
I tried with below code but tester was still able to upload files.
protected v... | https://stackoverflow.com/questions/79541212/authentication-is-not-working-for-file-upload-in-c-asp-net | c#, asp.net, authentication | 1,743,158,883 |
se_79539489 | stackoverflow | CYBERSECURITY | Unexpected Redirect to /home in Laravel Multi-Guard Auth - Route Not Working (302) | Unexpected Redirect to /home in Laravel Multi-Guard Auth - Route Not Working (302)
I'm facing an issue with my multi-guard authentication setup in Laravel involving impersonation. I have four guards defined: admin, distributor, customer, and user. My system allows a customer to impersonate a user (for example for supp... | https://stackoverflow.com/questions/79539489/unexpected-redirect-to-home-in-laravel-multi-guard-auth-route-not-working-30 | php, laravel, authentication, routes, roles | 1,743,092,845 |
se_56521125 | stackoverflow | CYBERSECURITY | ASP.Net Core 2.2 SignInManager 'No sign-in authentication handler is registered for the scheme 'Identity.Application' | ASP.Net Core 2.2 SignInManager 'No sign-in authentication handler is registered for the scheme 'Identity.Application'
I have the following configurations in Startup.cs:
services.AddAuthentication(options =>
{
options.DefaultAuthenticateScheme = JwtBearerDefaults.AuthenticationScheme;
//options.Def... | https://stackoverflow.com/questions/56521125/asp-net-core-2-2-signinmanager-no-sign-in-authentication-handler-is-registered | c#, asp.net-core, authentication, cookies, asp.net-core-identity | 1,560,145,991 |
se_79538889 | stackoverflow | CYBERSECURITY | Blazor Web App (Server) EntraID authentication and downstream Api | Blazor Web App (Server) EntraID authentication and downstream Api
I'm building a Blazor Web App (.NET 8) using Server interactivity and authenticating users via Microsoft Entra ID. Authentication works — I see the user is logged in, and their claims (oid, tid, etc.) are present.
My problems comes when I try to call th... | https://stackoverflow.com/questions/79538889/blazor-web-app-server-entraid-authentication-and-downstream-api | authentication, blazor, blazor-server-side, .net-8.0, microsoft-entra-id | 1,743,079,252 |
se_79534355 | stackoverflow | CYBERSECURITY | After ASP.NET Core 8 Identity SignOutAsync, the user doesn't have to provide credentials to external log in | After ASP.NET Core 8 Identity SignOutAsync, the user doesn't have to provide credentials to external log in
When using Blazor's IdentityComponentsEndpointRouteBuilderExtensions.cs logout method:
accountGroup.MapPost("/Logout", async (
ClaimsPrincipal user,
SignInManager<ApplicationU... | https://stackoverflow.com/questions/79534355/after-asp-net-core-8-identity-signoutasync-the-user-doesnt-have-to-provide-cre | authentication, blazor, asp.net-core-8 | 1,742,921,658 |
se_15014288 | stackoverflow | CYBERSECURITY | Browser is not prompting for a client certificate | Browser is not prompting for a client certificate
Background:
I am updating an internal application to a two-step authentication process. I want to add a client certificate authentication process (via a smart card) on top of a traditional username/password form. The application is written in C#, hosted on IIS7, an... | https://stackoverflow.com/questions/15014288/browser-is-not-prompting-for-a-client-certificate | authentication, iis-7, windows-server-2008, smartcard, client-certificates | 1,361,489,670 |
se_58122998 | stackoverflow | CYBERSECURITY | Vertical Centering Content inside Scrollview | Vertical Centering Content inside Scrollview
I'm trying to code a simple login page on my app. I started using SwiftUI on my newly updated macOS Catalina. The Apple documentation is still lacking a lot.
I need to center a VStack vertically on a Scrollview occupying the whole page with a "limit" on it's width of 400.
S... | https://stackoverflow.com/questions/58122998/vertical-centering-content-inside-scrollview | ios, authentication, scrollview, swiftui | 1,569,523,648 |
se_79536851 | stackoverflow | CYBERSECURITY | Symfony 7 ERR_TOO_MANY_REDIRECTS error on login | Symfony 7 ERR_TOO_MANY_REDIRECTS error on login
Sorry for my bad english, it is not my first language.
I'm developing an application in Symfony 7, where you can only access the app if you are logged in. I followed the Symfony documentation to generate registration and login process. I have these pages now, I can creat... | https://stackoverflow.com/questions/79536851/symfony-7-err-too-many-redirects-error-on-login | php, authentication, symfony, symfony7 | 1,743,011,274 |
se_79537421 | stackoverflow | CYBERSECURITY | Prevent LocalStorage Manipulation for 2FA Authentication in Admin Panel | Prevent LocalStorage Manipulation for 2FA Authentication in Admin Panel
I am building an admin panel where users must complete a two-factor authentication (2FA) process after logging in. The flow works as follows:
User logs in successfully.
They are redirected to the 2FA verification page.
Upon successful 2FA verifica... | https://stackoverflow.com/questions/79537421/prevent-localstorage-manipulation-for-2fa-authentication-in-admin-panel | reactjs, authentication, local-storage, storage, dashboard | 1,743,028,874 |
se_79537643 | stackoverflow | CYBERSECURITY | Account controller throws exception when calling login | Account controller throws exception when calling login
I'm reading through this book. It's using ASP.NET Core 6.
So far it's been very good, but now I've reached the chapter on authentication and authorization, and I'm getting an exception.
In the AccountController, I have a Register and a Login method. The Register m... | https://stackoverflow.com/questions/79537643/account-controller-throws-exception-when-calling-login | authentication, asp.net-core-identity, asp.net-core-6.0 | 1,743,039,667 |
se_76161078 | stackoverflow | CYBERSECURITY | Not getting email in users/me Twitter OAuth2 api response | Not getting email in users/me Twitter OAuth2 api response
I am using the generated access_token to etch user details for implementing Twitter Login in PHP website. i am getting id,username and name in response of the https://api.twitter.com/2/users/me api. But it does not return the email address of the user.
Can anyo... | https://stackoverflow.com/questions/76161078/not-getting-email-in-users-me-twitter-oauth2-api-response | authentication, email, twitter, oauth-2.0 | 1,683,096,073 |
se_79410348 | stackoverflow | CYBERSECURITY | How to store global user object in Nuxt3 server middleware? | How to store global user object in Nuxt3 server middleware?
Using Nuxt 3. Currently I can parse a JWT in the server middleware to get the logged in user, but I want to save that logged in user info to a global variable. Then, on the client side I want to get that logged in user.
In the environment where my Nuxt web ap... | https://stackoverflow.com/questions/79410348/how-to-store-global-user-object-in-nuxt3-server-middleware | authentication, server, nuxt.js, middleware, nuxt3.js | 1,738,630,297 |
se_79534248 | stackoverflow | CYBERSECURITY | I want to keep the user logged in even if they uninstall and reinstall the app | I want to keep the user logged in even if they uninstall and reinstall the app
I am a Flutter developer using mobile number OTP for login/sign-in authentication, which leads to high costs due to frequent OTP sending. I want users to remain logged in unless they choose to log out and log in again. Since the app is in p... | https://stackoverflow.com/questions/79534248/i-want-to-keep-the-user-logged-in-even-if-they-uninstall-and-reinstall-the-app | android, ios, flutter, authentication | 1,742,918,882 |
se_16671858 | stackoverflow | CYBERSECURITY | I'm not able to log in Tomcat Manager App | I'm not able to log in Tomcat Manager App
I have read a lot of topics in stackoverflow for solve my problem, but none was useful.
When I tried to log in Manager App ([http://localhost:8080/manager/html][1]) using a lot of different configurations, but I always obtained 401 Unauthorized after attempted to log in us... | https://stackoverflow.com/questions/16671858/im-not-able-to-log-in-tomcat-manager-app | java, tomcat, authentication, unauthorized | 1,369,144,490 |
se_71844030 | stackoverflow | CYBERSECURITY | How should signup form error responses be displayed | How should signup form error responses be displayed
I have a subscription based application that is build using MERN. I've recently submitted the application to be security tested and one of the responses that I received was that the application should not specifically tell the user why their signup application has be... | https://stackoverflow.com/questions/71844030/how-should-signup-form-error-responses-be-displayed | security, authentication, registration, web-application-security | 1,649,771,861 |
se_75459087 | stackoverflow | CYBERSECURITY | Setting authorization header of Httpclient return internal server error 500 repone why? | Setting authorization header of Httpclient return internal server error 500 repone why?
I have a problem I don't know where , after setting authorization header of HttpClient return internal server error 500.
Auth Controller Login Action
namespace MagicVilla_Web.Controllers
{
public class AuthController : Controll... | https://stackoverflow.com/questions/75459087/setting-authorization-header-of-httpclient-return-internal-server-error-500-repo | asp.net, authentication, jwt, authorization | 1,676,460,310 |
se_3128985 | stackoverflow | CYBERSECURITY | PHP login system: Remember Me (persistent cookie) | PHP login system: Remember Me (persistent cookie)
I'd like to add a "remember me" checkbox option before logging in.
What is the best way to securely store a cookie in the user's browser?
For example, Facebook have their "remember me" checkbox so that every time you enter facebook.com you are already logged in.
My ... | https://stackoverflow.com/questions/3128985/php-login-system-remember-me-persistent-cookie | php, authentication, cookies, remember-me | 1,277,674,750 |
se_75890387 | stackoverflow | CYBERSECURITY | ssh: too many authentication failures | ssh: too many authentication failures
I sometimes see this issue when trying to ssh to a host. Most often when going through git (since I ssh with git more often than I ssh directly).
The output from ssh looks like this:
Received disconnect from <server ip> port 22:2: Too many authentication failures
Disconnected from... | https://stackoverflow.com/questions/75890387/ssh-too-many-authentication-failures | git, authentication, ssh, ssh-keys | 1,680,191,239 |
se_74443 | stackoverflow | CYBERSECURITY | Managing authorized_keys on a large number of hosts | Managing authorized_keys on a large number of hosts
What is the easiest way to manage the authorized_keys file for openssh across a large number of hosts? If I need to add or revoke a new key to an account on 10 hosts say, I must login and add the public key manually, or through a clumsy shell script, which is time co... | https://stackoverflow.com/questions/74443/managing-authorized-keys-on-a-large-number-of-hosts | unix, authentication, ssh, openssh | 1,221,583,857 |
se_79535007 | stackoverflow | CYBERSECURITY | Salesforce SAML Auth request ID validation against InResponseTo in SAML Response | Salesforce SAML Auth request ID validation against InResponseTo in SAML Response
I am working on a SAML Login pattern for a Salesforce instance. The overarching flow is
User attempts to access a Salesforce resource that requires the user to be logged in. A custom AuthnRequest is passed as part of this redirect.
User... | https://stackoverflow.com/questions/79535007/salesforce-saml-auth-request-id-validation-against-inresponseto-in-saml-response | authentication, salesforce, saml, salesforce-communities, identity-provider | 1,742,942,204 |
se_79290877 | stackoverflow | CYBERSECURITY | How to add SMS OTP validation after username and password authentication in Keycloak with a custom Angular UI? | How to add SMS OTP validation after username and password authentication in Keycloak with a custom Angular UI?
I am currently using Keycloak for authentication and authorization in my application. My setup involves a custom login form built in Angular that collects the user's username and password. The form submits th... | https://stackoverflow.com/questions/79290877/how-to-add-sms-otp-validation-after-username-and-password-authentication-in-keyc | authentication, security, keycloak, keycloak-services | 1,734,520,516 |
se_79534405 | stackoverflow | CYBERSECURITY | Docker-compose gitlab pull forbidden | Docker-compose gitlab pull forbidden
I have strange issue when using docker-compose to get images from gitlab registy.
Docker login works well, even docker pull goes without error but
docker-compose pull <myimage> return denied: access forbidden.
I use:
Docker version 27.5.1, build a187fa5
Docker Compose version v2.3... | https://stackoverflow.com/questions/79534405/docker-compose-gitlab-pull-forbidden | docker, authentication, docker-compose, gitlab | 1,742,922,969 |
se_79532921 | stackoverflow | CYBERSECURITY | Implement JWT authentication using com.auth0 library in Spring Boot Using Java | Implement JWT authentication using com.auth0 library in Spring Boot Using Java
I am trying to implement JWT authentication to one particular endpoint. I have SAML authentication already in place.
Spring Boot Version - 2.7.18
com.auth0 (java-jwt) version - 4.4.0
com.auth0 (jwks-rsa) version - 0.22.1
My Spring Securit... | https://stackoverflow.com/questions/79532921/implement-jwt-authentication-using-com-auth0-library-in-spring-boot-using-java | spring-boot, authentication, spring-security, jwt, spring-saml | 1,742,887,092 |
se_79532575 | stackoverflow | CYBERSECURITY | How can I know if the SA user is disabled? | How can I know if the SA user is disabled?
I have been doing some research on the SA user account in SQL.
I placed the SELECT * FROM syslogins statement and in the hasaccess column the SA user appears with 1. However, when checking the Microsoft SQL Server screen, it appears to me with the X, which I interpret as not ... | https://stackoverflow.com/questions/79532575/how-can-i-know-if-the-sa-user-is-disabled | sql-server, authentication, settings, sa | 1,742,869,731 |
se_78951828 | stackoverflow | CYBERSECURITY | Django OAuth2 Authentication Failing in Unit Tests - 401 'invalid_client' Error | Django OAuth2 Authentication Failing in Unit Tests - 401 'invalid_client' Error
I'm trying to implement OAuth2 authentication for my Django backend with a REST interface. However, my unit tests for authentication are failing, and I'm getting a 401 error with the message 'invalid_client' instead of the expected... | https://stackoverflow.com/questions/78951828/django-oauth2-authentication-failing-in-unit-tests-401-invalid-client-error | django, authentication, oauth-2.0 | 1,725,522,246 |
se_79525545 | stackoverflow | CYBERSECURITY | Blazor Website (.NET 8, ServerPrerendered) OpenId For Web Pages And JwtBearer For API Endpoints - Doable? | Blazor Website (.NET 8, ServerPrerendered) OpenId For Web Pages And JwtBearer For API Endpoints - Doable?
Hoping someone can help me out.
We have a .net 8 blazor web site (ServerPrerendered) with web pages that have to use OpenIdConnectDefaults.AuthenticationScheme so users logged into the company's SSO can reach the ... | https://stackoverflow.com/questions/79525545/blazor-website-net-8-serverprerendered-openid-for-web-pages-and-jwtbearer-fo | asp.net-core, authentication, jwt, blazor, openid | 1,742,562,299 |
se_79528880 | stackoverflow | CYBERSECURITY | ASP.NET Core MVC with multiple authentication needs Oauth | ASP.NET Core MVC with multiple authentication needs Oauth
When building a new internal solution (using ASP.NET Core MVC), our policy is to authenticate using our Active Directory (aka Entra) for our users. This new app then gathers data that then generates a DocuSign object using their API/SDKs. This is my first time ... | https://stackoverflow.com/questions/79528880/asp-net-core-mvc-with-multiple-authentication-needs-oauth | authentication, active-directory, asp.net-core-mvc, docusignapi, microsoft-entra-id | 1,742,730,018 |
se_76159773 | stackoverflow | CYBERSECURITY | Django Login dont work, how i can i fix it? | Django Login dont work, how i can i fix it?
I have a functional login feature on my website, but unfortunately, the private page can still be accessed by typing in its URL, even without logging in. I am concerned about this security flaw and would like to know how I can prevent users from accessing the private page wi... | https://stackoverflow.com/questions/76159773/django-login-dont-work-how-i-can-i-fix-it | django, authentication, private | 1,683,074,914 |
se_8193768 | stackoverflow | CYBERSECURITY | "UNPROTECTED PRIVATE KEY FILE!" Error using SSH into Amazon EC2 Instance (AWS) | "UNPROTECTED PRIVATE KEY FILE!" Error using SSH into Amazon EC2 Instance (AWS)
I've created a new linux instance on Amazon EC2, and as part of that downloaded the .pem file to allow me to SSH in.
When I tried to ssh with:
ssh -i myfile.pem <public dns>
I got:
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@... | https://stackoverflow.com/questions/8193768/unprotected-private-key-file-error-using-ssh-into-amazon-ec2-instance-aws | amazon-web-services, authentication, ssh, amazon-ec2, permissions | 1,321,702,508 |
se_79528228 | stackoverflow | CYBERSECURITY | Huobi API authentication often returning error | Huobi API authentication often returning error
I have the following code working properly, but eventually (in fact quite very often) it returns error {'status': 'error', 'err-code': 'api-signature-not-valid', 'err-msg': 'Signature not valid: Verification failure [校验失败]', 'data': None} during the loop operation.
I cann... | https://stackoverflow.com/questions/79528228/huobi-api-authentication-often-returning-error | python, authentication, huobi | 1,742,683,318 |
se_77094628 | stackoverflow | CYBERSECURITY | Vaadin Springboot Login Form | Vaadin Springboot Login Form
I'm using Vaadin 24 and Springboot 3.0 . I have a LoginView class which works perfectly as follows:
private LoginForm login = new LoginForm();
public LoginView() {
setSizeFull();
setJustifyContentMode(JustifyContentMode.CENTER);
setAlignItems(Alignment.CENTER);
... | https://stackoverflow.com/questions/77094628/vaadin-springboot-login-form | authentication, spring-security, vaadin, vaadin-flow | 1,694,587,494 |
se_79527602 | stackoverflow | CYBERSECURITY | Why am I getting "App Password Is Required" if have generated and I'm using it? | Why am I getting "App Password Is Required" if have generated and I'm using it?
The main logic of my project is written on python, and HTML, CSS, JS are used for the front-end.
I'm using SMTP for sending verification emails. In my .env file I have declared following variables
SMTP_SERVER=smtp.mail.ru
SM... | https://stackoverflow.com/questions/79527602/why-am-i-getting-app-password-is-required-if-have-generated-and-im-using-it | python, authentication, email, smtp | 1,742,654,272 |
se_25519666 | stackoverflow | CYBERSECURITY | Is LDAP binding account required for user authentication? | Is LDAP binding account required for user authentication?
I am making a portal for my organization in which I want the user to login to that portal with their organization acoount's ID and password.
For this purpose I am using LDAP authentication with Java.
After reading through quite a few articles, I found the follo... | https://stackoverflow.com/questions/25519666/is-ldap-binding-account-required-for-user-authentication | authentication, active-directory, ldap | 1,409,117,980 |
se_59399047 | stackoverflow | CYBERSECURITY | Google Analytics Setup User ID | Google Analytics Setup User ID
So I've set up Google Analytics and everything is well and working. Now I want to track user ID. We have a system where when users are logged in they are assigned a unique identifier number. For example, we'll call this unique identifier number "identifierNumber" however when I add a new... | https://stackoverflow.com/questions/59399047/google-analytics-setup-user-id | authentication, google-analytics | 1,576,698,151 |
se_61783738 | stackoverflow | CYBERSECURITY | Python Object Oriented Programming basic login system returns TypeError | Python Object Oriented Programming basic login system returns TypeError
I was trying to make a basic login system that can log in or register the user and store the info in a text file. Yet, as a beginner, I'm facing a problem to which I couldn't find any solution.
So I defined my class and functions that I want to m... | https://stackoverflow.com/questions/61783738/python-object-oriented-programming-basic-login-system-returns-typeerror | python, file, class, oop, authentication | 1,589,399,924 |
se_72110977 | stackoverflow | CYBERSECURITY | How to use basic authentication with Rest Assured in this situation | How to use basic authentication with Rest Assured in this situation
I am trying to use authentication with RestAssured.
Here is my code that does not work:
public static void authenticate(){
RestAssured.baseURI = "https://randomUrl/login";
RequestSpecification request = RestAssured.given().auth().basic("user@google.c... | https://stackoverflow.com/questions/72110977/how-to-use-basic-authentication-with-rest-assured-in-this-situation | authentication, authorization, rest-assured | 1,651,657,835 |
se_79528070 | stackoverflow | CYBERSECURITY | How to handle AppleSignInAuthenticator result to create or login with my Identity Server | How to handle AppleSignInAuthenticator result to create or login with my Identity Server
I have a working application using OpenIdDict back end with support for internal registration, Login with Google, and Login with Apple.
From a web page, everything works beautifully, however, in my mobile application, Apple has de... | https://stackoverflow.com/questions/79528070/how-to-handle-applesigninauthenticator-result-to-create-or-login-with-my-identit | authentication, .net-core, mobile, openiddict, sign-in-with-apple | 1,742,674,805 |
se_79528061 | stackoverflow | CYBERSECURITY | Clerk Development Mode Redirect Error with Next.js and Cloudflare Worker Proxy | Clerk Development Mode Redirect Error with Next.js and Cloudflare Worker Proxy
I'm encountering a specific development mode error with Clerk authentication when using a Cloudflare Worker as a proxy. The application automatically redirects to:
https://[my-worker-url].workers.dev/clerk/v1/client/handshake?redirect_url=h... | https://stackoverflow.com/questions/79528061/clerk-development-mode-redirect-error-with-next-js-and-cloudflare-worker-proxy | authentication, next.js, cloudflare-workers, clerk | 1,742,674,473 |
se_64869735 | stackoverflow | CYBERSECURITY | Can't log in to GitHub on Android Studio | Can't log in to GitHub on Android Studio
I can't sign in to GitHub on Android studio, as the picture shows.
I have reset my password, tried to put ' https:// ' in the server box, and still doesn't let me in and shows the same message.
I can no longer update the project I am working on with my team.
For some reaso... | https://stackoverflow.com/questions/64869735/cant-log-in-to-github-on-android-studio | android-studio, authentication, github | 1,605,590,394 |
se_79512314 | stackoverflow | CYBERSECURITY | Objective-c http basic auth asynchronously (with no specific library) | Objective-c http basic auth asynchronously (with no specific library)
I am developing ios app implementing basic auth with objective-c.
(it is an old app).
This was a good reference and asynchronous code was used for my app.
NSURLConnection and Basic HTTP Authentication in iOS
The code is shown below.
It works and sho... | https://stackoverflow.com/questions/79512314/objective-c-http-basic-auth-asynchronously-with-no-specific-library | objective-c, authentication, http, webview | 1,742,115,195 |
se_79526692 | stackoverflow | CYBERSECURITY | Can't retrieve Cookie with Local Provider in NuxtAuth | Can't retrieve Cookie with Local Provider in NuxtAuth
I'm having some trouble getting my cookie back when I try to login with the Local provider in NuxtAuth.
Here's my nuxt.config.ts
RuntimeConfig: {
baseURL: '/api/auth'
},
auth: {
isEnabled: true,
disableServerSideAuth: false,
originEnvKey: 'N... | https://stackoverflow.com/questions/79526692/cant-retrieve-cookie-with-local-provider-in-nuxtauth | vue.js, authentication, nuxt.js, nuxt-auth | 1,742,597,002 |
se_79526542 | stackoverflow | CYBERSECURITY | Handling Authentication Tokens in Next.js Server Actions with External APIs | Handling Authentication Tokens in Next.js Server Actions with External APIs
The Problem
I recently encountered a challenging authentication issue when working with Next.js Server Actions connecting to a NestJS backend API.
When making authenticated requests from client components everything works fine, but when using ... | https://stackoverflow.com/questions/79526542/handling-authentication-tokens-in-next-js-server-actions-with-external-apis | authentication, next.js, server-side | 1,742,589,286 |
se_75487171 | stackoverflow | CYBERSECURITY | API setup missing something? | API setup missing something?
I am setting up a web api for the first time and I have another project for reference. It is a .NET framework project that will have a React frontend. I am running it using Visual Studio and IIS Express.
I have no build errors when I start the api project. It has swagger added so I can tes... | https://stackoverflow.com/questions/75487171/api-setup-missing-something | asp.net, authentication, url, asp.net-web-api | 1,676,653,111 |
se_79524366 | stackoverflow | CYBERSECURITY | Preventing Access to Login Page After Authentication in Laravel + Inertia + React (ShadCN + Breeze) | Preventing Access to Login Page After Authentication in Laravel + Inertia + React (ShadCN + Breeze)
I followed ShadCN's official documentation to set up a React starter kit with Laravel Breeze. Authentication works correctly, but I encountered an issue where users could navigate back to the login page after logging in... | https://stackoverflow.com/questions/79524366/preventing-access-to-login-page-after-authentication-in-laravel-inertia-reac | reactjs, laravel, authentication, inertiajs, shadcnui | 1,742,517,933 |
se_75393056 | stackoverflow | CYBERSECURITY | How to log with Serilog Sink Http Authentication Bearer | How to log with Serilog Sink Http Authentication Bearer
I have a console app that I want to log to Logtail using Serilog (v2.12.0) http sink (v8.0.0) with custom httpclient configured for authentication bearer like below:
using Microsoft.Extensions.Configuration;
using Serilog;
using Serilog.Sinks.Http;
internal clas... | https://stackoverflow.com/questions/75393056/how-to-log-with-serilog-sink-http-authentication-bearer | .net, authentication, serilog | 1,675,902,713 |
se_79523176 | stackoverflow | CYBERSECURITY | Where do you report IIS ASPX page generation errors? | Where do you report IIS ASPX page generation errors?
Using the same ASPX form and variables from the same Azure Cloud Service IIS server, the results page returned to iOS Edge/Safari instances of those browsers report an error but from a Window's Edge instance doesn't. It appears to be a browser clients IIS authentica... | https://stackoverflow.com/questions/79523176/where-do-you-report-iis-aspx-page-generation-errors | asp.net, authentication, cross-browser | 1,742,479,060 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.