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_15254991 | stackoverflow | CYBERSECURITY | Google App Engine - "Please use https://accounts.google.com/ServiceLogin instead." error | Google App Engine - "Please use https://accounts.google.com/ServiceLogin instead." error
I am getting a weird error in my Google App Engine Go app. When I prompt the user to log in, they are redirected to a login screen for Google. After logging in, they get a message
Please use https://accounts.google.c... | https://stackoverflow.com/questions/15254991/google-app-engine-please-use-https-accounts-google-com-servicelogin-instead | google-app-engine, http-redirect, authentication, go, google-authentication | 1,362,593,985 |
se_46288437 | stackoverflow | CYBERSECURITY | Set cookies for cross origin requests | Set cookies for cross origin requests
How to share cookies cross origin? More specifically, how to use the Set-Cookie header in combination with the header Access-Control-Allow-Origin?
Here's an explanation of my situation:
I am attempting to set a cookie for an API that is running on localhost:4000 in a web app tha... | https://stackoverflow.com/questions/46288437/set-cookies-for-cross-origin-requests | authentication, cookies, cors, http-headers, localhost | 1,505,769,837 |
se_79714207 | stackoverflow | CYBERSECURITY | How to create and apply a new layout with _Imports.razor's directives then embed this into existing templated authorization project? | How to create and apply a new layout with _Imports.razor's directives then embed this into existing templated authorization project?
I'm unable to separate the Login.razor, Register.razor, ForgotPassword.razor, and ResendEmailConfirmation.razor components from the MainLayout.razor layout properly. I am using _Impo... | https://stackoverflow.com/questions/79714207/how-to-create-and-apply-a-new-layout-with-imports-razors-directives-then-embed | c#, authentication, layout, blazor, .net-9.0 | 1,753,419,247 |
se_79714292 | stackoverflow | CYBERSECURITY | AUTH-001: client_id does not have access to the selected API product in Autodesk APS/Forge | AUTH-001: client_id does not have access to the selected API product in Autodesk APS/Forge
I am developing a WordPress plugin that uses the Autodesk APS/Forge API for DWG analysis. However, I keep getting the following error when requesting an access token:
{
"developerMessage": "The client_id specified does not hav... | https://stackoverflow.com/questions/79714292/auth-001-client-id-does-not-have-access-to-the-selected-api-product-in-autodesk | wordpress, authentication, oauth-2.0, autodesk-forge, autodesk | 1,753,425,858 |
se_17328217 | stackoverflow | CYBERSECURITY | 'Bad credentials' error with a custom authentication provider in Symfony 2 | 'Bad credentials' error with a custom authentication provider in Symfony 2
I'm working on a web application with Symfony 2. More specifically, I'm trying to make a Custom Authentication Provider thanks to the instructions of the Symfony Cookbook.
I have to make custom authentication provider because I must not... | https://stackoverflow.com/questions/17328217/bad-credentials-error-with-a-custom-authentication-provider-in-symfony-2 | php, authentication, symfony, forms-authentication, symfony2 | 1,372,272,855 |
se_79454238 | stackoverflow | CYBERSECURITY | GCP Python ID Token Authentication with Impersonated Service Account without Downloading Credentials File | GCP Python ID Token Authentication with Impersonated Service Account without Downloading Credentials File
As in the question, how can I retrieve an impersonated service account's id token without downloading the service account credentials file from the GCP IAM console. The point is to test a service code on my local ... | https://stackoverflow.com/questions/79454238/gcp-python-id-token-authentication-with-impersonated-service-account-without-dow | python, authentication, google-cloud-platform | 1,740,049,011 |
se_18604694 | stackoverflow | CYBERSECURITY | Instagram API dynamically login | Instagram API dynamically login
I have 2 pages to allow user to fetch images from instagram index.php and home.php
In index.php, provided login button to allow user to login.
<?php
$loginUrl = $instagram->getLoginUrl();
echo "<a class='button' href='$loginUrl'>Sign in with Instagram</a>";
?>
In home.php, it gets t... | https://stackoverflow.com/questions/18604694/instagram-api-dynamically-login | php, authentication, instagram | 1,378,263,464 |
se_75620451 | stackoverflow | CYBERSECURITY | Problem with auth attempt with dynamic guard | Problem with auth attempt with dynamic guard
Why Auth::guard($request->type)->attempt(['email' => $request->email, 'password' => $request->password]) returns false?
In login Controller
public function login(Request $request)
{
if (Auth::guard($request->type)->attempt(['email' => $request->email,... | https://stackoverflow.com/questions/75620451/problem-with-auth-attempt-with-dynamic-guard | laravel, authentication, laravel-8 | 1,677,788,515 |
se_72090328 | stackoverflow | CYBERSECURITY | Next-Auth credentials not returning session and not storing Session and Account in db via prisma adapter | Next-Auth credentials not returning session and not storing Session and Account in db via prisma adapter
i'm trying to implement credientials part with next-auth, github and google works like charm and after signin via these providers I get user, account, session storred correctly in db psql via prisma adapter, while ... | https://stackoverflow.com/questions/72090328/next-auth-credentials-not-returning-session-and-not-storing-session-and-account | authentication, axios, next.js, next-auth | 1,651,512,949 |
se_79254686 | stackoverflow | CYBERSECURITY | Azure API management service fails to authorize a call to web app API - getting 403 Forbidden or 401 Unauthorized | Azure API management service fails to authorize a call to web app API - getting 403 Forbidden or 401 Unauthorized
I'm trying to set up an Azure API Management Service with one backend API hosted in an Azure web app. APIM is supposed to authenticate against the Web App with the help of a service principal.
I activated ... | https://stackoverflow.com/questions/79254686/azure-api-management-service-fails-to-authorize-a-call-to-web-app-api-getting | authentication, azure-web-app-service, azure-api-management, microsoft-entra-id, azure-service-principal | 1,733,401,839 |
se_77045626 | stackoverflow | CYBERSECURITY | How to configure authentication for Spark Connect? | How to configure authentication for Spark Connect?
I recently discovered the Spark Connect new feature in Spark 3.4. I have tested it on a YARN cluster and it works well! However, anyone can access my Spark Connect server and run jobs with my user. Is it possible to configure authentication for Spark Connect? A simple... | https://stackoverflow.com/questions/77045626/how-to-configure-authentication-for-spark-connect | python, authentication, pyspark, hadoop-yarn, grpc-python | 1,693,925,987 |
se_79707637 | stackoverflow | CYBERSECURITY | Trouble Transmitting (or setting) HTTPOnly cookies on the browser | Trouble Transmitting (or setting) HTTPOnly cookies on the browser
I'm trying to build a full stack web app following as many best practices as I can and am working on authentication for some Admin features. I'm facing a problem with my refresh token not being present in the POST request to auth/refresh. I am reasonabl... | https://stackoverflow.com/questions/79707637/trouble-transmitting-or-setting-httponly-cookies-on-the-browser | reactjs, express, authentication, cookies, jwt | 1,752,972,523 |
se_79706939 | stackoverflow | CYBERSECURITY | Can a Blazor Server app support multiple authentication methods? | Can a Blazor Server app support multiple authentication methods?
I am developing a Blazor Server app. based on the default template. I have successfully implemented Google authentication in my app. However, the system request is that I have three authentication method options available to the user: Google, Facebook, a... | https://stackoverflow.com/questions/79706939/can-a-blazor-server-app-support-multiple-authentication-methods | authentication, blazor | 1,752,900,642 |
se_79706381 | stackoverflow | CYBERSECURITY | Does Firebase Authentication support IdP-initiated login with SAML or OIDC? | Does Firebase Authentication support IdP-initiated login with SAML or OIDC?
I'm integrating SSO into a Firebase project using external Identity Providers (IdPs) like Okta. I've successfully implemented Service Provider (SP)-initiated login flows using both SAML and OIDC, where the login is initiated from the frontend ... | https://stackoverflow.com/questions/79706381/does-firebase-authentication-support-idp-initiated-login-with-saml-or-oidc | firebase, authentication, google-cloud-platform, firebase-authentication, okta | 1,752,850,659 |
se_71318743 | stackoverflow | CYBERSECURITY | kubectl versions Error: exec plugin is configured to use API version client.authentication.k8s.io/v1alpha1 | kubectl versions Error: exec plugin is configured to use API version client.authentication.k8s.io/v1alpha1
I was setting up my new Mac for my eks environment.
After the installation of kubectl, aws-iam-authenticator and the kubeconfig file placement in default location. I ran the command kubectl command and got this e... | https://stackoverflow.com/questions/71318743/kubectl-versions-error-exec-plugin-is-configured-to-use-api-version-client-auth | authentication, plugins, kubectl, amazon-eks | 1,646,205,301 |
se_66446386 | stackoverflow | CYBERSECURITY | HTML pages still accessible without login | HTML pages still accessible without login
I am building a site on Glitch.com for me and my friends. I already know HTML/CSS, and am learning JS.
Even though it's not that secure, I want the login system to be made out of JS since this project is just for fun and to improve my skills.
I currently have the login page wi... | https://stackoverflow.com/questions/66446386/html-pages-still-accessible-without-login | javascript, html, authentication | 1,614,715,642 |
se_79589895 | stackoverflow | CYBERSECURITY | AWS Amplify Authentication Configuration Error in Vite + React Application Problem | AWS Amplify Authentication Configuration Error in Vite + React Application Problem
I'm getting the following error when trying to configure AWS Amplify authentication in my Vite + React application:
`Uncaught TypeError: Cannot read properties of undefined (reading 'loginWith')
at configureAmplify (amplify-config.t... | https://stackoverflow.com/questions/79589895/aws-amplify-authentication-configuration-error-in-vite-react-application-probl | reactjs, authentication, aws-amplify | 1,745,473,685 |
se_79704123 | stackoverflow | CYBERSECURITY | Blazor Web App (.NET 9) InteractiveClient Mode: No Built-in Authentication/Authorization? | Blazor Web App (.NET 9) InteractiveClient Mode: No Built-in Authentication/Authorization?
I'm building a Blazor web app using .NET 9 and targeting interactive client render mode (InteractiveWebAssembly) and authenticating with Entra ID (and using Entra ID roles for authorization). My goal is to have a true SPA experie... | https://stackoverflow.com/questions/79704123/blazor-web-app-net-9-interactiveclient-mode-no-built-in-authentication-autho | authentication, azure-active-directory, blazor, authorization, .net-9.0 | 1,752,709,001 |
se_31874081 | stackoverflow | CYBERSECURITY | MongoDB: Understand createUser and db admin | MongoDB: Understand createUser and db admin
My MongoDB is hosted on compose.io and is called ScroungeBA.
I try to create a user with some built-in roles which according to the documentation only works in the admin database:
MongoDB provides all other built-in roles only on the admin database
So my question: What is ... | https://stackoverflow.com/questions/31874081/mongodb-understand-createuser-and-db-admin | mongodb, shell, authentication, admin, database | 1,438,939,195 |
se_79703589 | stackoverflow | CYBERSECURITY | Blazor Server collocated JavaScript causing crash on Blazor connection timeout due to auth CORS policy | Blazor Server collocated JavaScript causing crash on Blazor connection timeout due to auth CORS policy
We have a Blazor Server app that requires authorization on all its components (internal business app):
// ...
app.UseHttpsRedirection();
app.MapStaticAssets(); // <-- Static files middleware before auth.
app.UseAut... | https://stackoverflow.com/questions/79703589/blazor-server-collocated-javascript-causing-crash-on-blazor-connection-timeout-d | javascript, authentication, authorization, blazor-server-side, static-files | 1,752,676,594 |
se_65451797 | stackoverflow | CYBERSECURITY | ASP.NET Core Auth not staying signed in after browser closes (Azure AD B2C) | ASP.NET Core Auth not staying signed in after browser closes (Azure AD B2C)
I've successful set up authentication with Azure AD B2C in my ASP.NET Core Blazor application. I can open the website (https://localhost:5001) in multiple tabs without signing in again. However, if I keep the server running but close and reope... | https://stackoverflow.com/questions/65451797/asp-net-core-auth-not-staying-signed-in-after-browser-closes-azure-ad-b2c | c#, asp.net-core, authentication, blazor, azure-ad-b2c | 1,608,930,353 |
se_79400747 | stackoverflow | CYBERSECURITY | multi-module ear and elytron - A SecurityDomain has already been associated with the specified ClassLoader | multi-module ear and elytron - A SecurityDomain has already been associated with the specified ClassLoader
I have an ear with at least 2 WARs inside. One should be none restricted, so no auth at all, and the other one should be restricted by keycloak. This is done via an overlay-file for just this WAR.
Deploying this ... | https://stackoverflow.com/questions/79400747/multi-module-ear-and-elytron-a-securitydomain-has-already-been-associated-with | java, authentication, jboss, wildfly, elytron | 1,738,258,466 |
se_79695610 | stackoverflow | CYBERSECURITY | Next.js basePath in combination with next-auth and Keycloak | Next.js basePath in combination with next-auth and Keycloak
I created a Next.js Project to test my keycloak server. The programm works fine and does exactly what I want. Until I add the basePath "/app" in my next.config.js:
const basePath = "/app";
const assetPrefix = process.env.NEXT_PUBLIC_PREFIX || "";
console.log... | https://stackoverflow.com/questions/79695610/next-js-basepath-in-combination-with-next-auth-and-keycloak | typescript, authentication, next.js, keycloak, next-auth | 1,752,063,756 |
se_55874983 | stackoverflow | CYBERSECURITY | Basic User Authentication for Static Site using AWS & S3 Bucket | Basic User Authentication for Static Site using AWS & S3 Bucket
I am looking to add Basic User Authentication to a Static Site I will have up on AWS so that only those with the proper username + password which I will supply to those users have access to see the site. I found s3auth and it seems to be exactly what ... | https://stackoverflow.com/questions/55874983/basic-user-authentication-for-static-site-using-aws-s3-bucket | amazon-web-services, authentication, amazon-s3, amazon-cloudfront, bucket | 1,556,313,003 |
se_25319297 | stackoverflow | CYBERSECURITY | How can I authenticate with google inside of a firefox plugin | How can I authenticate with google inside of a firefox plugin
I'd like to add a calendar entry from my Firefox plugin to the user's Google calendar (with their authorization, of course). Unfortunately, I can't seem to figure out how to authenticate with Gapi within the context of the Firefox SDK.
I tried including th... | https://stackoverflow.com/questions/25319297/how-can-i-authenticate-with-google-inside-of-a-firefox-plugin | authentication, firefox, google-api | 1,408,059,978 |
se_78366047 | stackoverflow | CYBERSECURITY | How to secure API with EntraID | How to secure API with EntraID
We have an on-premise API that needs be accessed by a mobile APP developed by a third party (don't know which technology). At the moment the authentication is done via user/password against an internal login API that returns a token that is then used in the calls, but this has to be disc... | https://stackoverflow.com/questions/78366047/how-to-secure-api-with-entraid | azure, asp.net-core, authentication, microsoft-entra-id | 1,713,786,899 |
se_78727093 | stackoverflow | CYBERSECURITY | PostgreSQL Login Error: "password authentication failed for user 'postgres'" | PostgreSQL Login Error: "password authentication failed for user 'postgres'"
I've been struggling with an error while trying to log into PostgreSQL:
psql: error: connection to server at "localhost" (127.0.0.1), port 5432 failed: FATAL: password authentication failed for user "postgres"
Despite chan... | https://stackoverflow.com/questions/78727093/postgresql-login-error-password-authentication-failed-for-user-postgres | database, postgresql, authentication | 1,720,547,601 |
se_79701553 | stackoverflow | CYBERSECURITY | Unable to connect and call Web API from Jasmine test | Unable to connect and call Web API from Jasmine test
We have a specific set of tests of our Angular application that requires Jasmine to connect/authenticate and call our ASP.NET Core Web API. As we have numerous UI tests setup (so these are not duplicated in say an Integration test), the requirement is to allow the U... | https://stackoverflow.com/questions/79701553/unable-to-connect-and-call-web-api-from-jasmine-test | angular, unit-testing, authentication, jasmine | 1,752,553,549 |
se_79681500 | stackoverflow | CYBERSECURITY | OpenCart 4.x: AJAX request returns "Invalid token session" despite valid user_token | OpenCart 4.x: AJAX request returns "Invalid token session" despite valid user_token
I'm developing a custom OpenCart 4.x module that adds a button to the order page to log order data via AJAX. The button makes a GET request to my custom controller, but I'm getting an "Invalid token session" error despite pas... | https://stackoverflow.com/questions/79681500/opencart-4-x-ajax-request-returns-invalid-token-session-despite-valid-user-to | php, ajax, authentication, session, opencart | 1,751,006,606 |
se_78754628 | stackoverflow | CYBERSECURITY | Microsoft Entra ID and .NET Framework (Web Forms) - get user details to validate a local login | Microsoft Entra ID and .NET Framework (Web Forms) - get user details to validate a local login
we need to integrate Entra ID login on a web application (.NET Web Forms based) but I'm not convinced about the approach.
Our application has a deep characterization of the user permissions, so we have to manage a local prof... | https://stackoverflow.com/questions/78754628/microsoft-entra-id-and-net-framework-web-forms-get-user-details-to-validate | c#, authentication, webforms, openid, microsoft-entra-id | 1,721,133,523 |
se_79701127 | stackoverflow | CYBERSECURITY | Google Sign In Fails with Firebase - signInWithRedirect fails, but signInWithPopup works fine | Google Sign In Fails with Firebase - signInWithRedirect fails, but signInWithPopup works fine
Firebase authentication (email_pwd and google-auth) is linked to this web app (NextJS)
I want to switch from browser popups for Google Sign-In to a redirect. That's when this issue was encountered.
To get an idea of the conte... | https://stackoverflow.com/questions/79701127/google-sign-in-fails-with-firebase-signinwithredirect-fails-but-signinwithpop | reactjs, firebase, authentication, next.js, firebase-authentication | 1,752,510,059 |
se_35973466 | stackoverflow | CYBERSECURITY | Ionic-Application login solution with 'remember me' function | Ionic-Application login solution with 'remember me' function
I am coding an ionic-framework application with login and 'remember me' functionality.
I just need to now if it is safe to store the username and the password on the phone with:
window.localStorage.setItem('loginMail', $scope.loginData.mail);
window.... | https://stackoverflow.com/questions/35973466/ionic-application-login-solution-with-remember-me-function | angularjs, authentication, ionic-framework, remember-me | 1,457,890,659 |
se_74654480 | stackoverflow | CYBERSECURITY | what endpoints should return a user;s access token in an authentication system using REST/GraphQL | what endpoints should return a user;s access token in an authentication system using REST/GraphQL
In a JWT authentication system is the login/signin endpoint the only endpoint that should return an access token?
I thought an access token can be returned for signup/register endpoint after confirmation of the user email... | https://stackoverflow.com/questions/74654480/what-endpoints-should-return-a-users-access-token-in-an-authentication-system-u | rest, authentication, jwt | 1,669,977,898 |
se_79700602 | stackoverflow | CYBERSECURITY | WebAuthn "the operation either timed out or was not allowed" error when userVerification is set to "preferred" | WebAuthn "the operation either timed out or was not allowed" error when userVerification is set to "preferred"
I'm implementing WebAuthn passkey support, and I encounter the following error on some devices when initiating authentication or registration:
The operation either timed out or was not al... | https://stackoverflow.com/questions/79700602/webauthn-the-operation-either-timed-out-or-was-not-allowed-error-when-userveri | authentication, webauthn, fido, passkey | 1,752,481,473 |
se_54133583 | stackoverflow | CYBERSECURITY | Migrate User Passwords from One DB to Another | Migrate User Passwords from One DB to Another
I'm currently using mongoDB as my application DB and hashing passwords with bcrypt. I'm going to be moving over to a Django application as well as a PostgreSQL DB and will be transferring all my users over to that, and using Django's built in authentication system. I'm not... | https://stackoverflow.com/questions/54133583/migrate-user-passwords-from-one-db-to-another | django, mongodb, postgresql, authentication, bcrypt | 1,547,139,794 |
se_79699917 | stackoverflow | CYBERSECURITY | GitHub Personal Access Token returns 401 "Bad credentials" but CLI works perfectly - What's the difference? | GitHub Personal Access Token returns 401 "Bad credentials" but CLI works perfectly - What's the difference?
Problem Summary
All Personal Access Tokens return 401 Bad credentials when using curl or direct API calls, but GitHub CLI authentication works perfectly. This affects ALL tokens including newly cre... | https://stackoverflow.com/questions/79699917/github-personal-access-token-returns-401-bad-credentials-but-cli-works-perfect | authentication, curl, github-api, github-cli, personal-access-token | 1,752,405,467 |
se_58852467 | stackoverflow | CYBERSECURITY | AWS amplify auth How to remove redirect uri | AWS amplify auth How to remove redirect uri
How can I remove a redirect uri using amplify.
Running amplify auth update gives no option for removing a redirect uri, there is only a 'add/edit' option. I have tried to look through the documentation but with no success. | https://stackoverflow.com/questions/58852467/aws-amplify-auth-how-to-remove-redirect-uri | amazon-web-services, authentication, http-redirect, aws-amplify | 1,573,720,493 |
se_79699772 | stackoverflow | CYBERSECURITY | How to do discord OAuth2 in a request session? | How to do discord OAuth2 in a request session?
(From the user side not the bot) I don't know how to go about this and I would like some help.
I tried it myself but got this error
[01:19:41] Rover login failed: 400 | {
"errorCode": "malformed_json_body",
"message": "Request JSON payload is malformed"
}
Code
rover_... | https://stackoverflow.com/questions/79699772/how-to-do-discord-oauth2-in-a-request-session | python, authentication, oauth-2.0, discord | 1,752,388,066 |
se_79699385 | stackoverflow | CYBERSECURITY | How to enforce authentication and redirect on client-side navigation in SolidStart? | How to enforce authentication and redirect on client-side navigation in SolidStart?
I'm building a SolidStart app using the latest version (1.1.0) and cookie-based sessions for authentication.
To check if a user is logged in, I created a server query() function called getUser() that either returns the user's session o... | https://stackoverflow.com/questions/79699385/how-to-enforce-authentication-and-redirect-on-client-side-navigation-in-solidsta | authentication, session, http-redirect, solid-js, solid-start | 1,752,333,643 |
se_438405 | stackoverflow | CYBERSECURITY | Creating a login section - Im new an need some serious direction please! | Creating a login section - Im new an need some serious direction please!
Alright. So I am new, I know my way around html pretty well, and have gotten by for a while now doing so. But today I am presented with a seemingly simple issue.
My client needs the ability for users to create their own LOGIN/PASSWORD, my clien... | https://stackoverflow.com/questions/438405/creating-a-login-section-im-new-an-need-some-serious-direction-please | authentication, login-script | 1,231,837,927 |
se_66836600 | stackoverflow | CYBERSECURITY | Cookie based Authentication in FastAPI | Cookie based Authentication in FastAPI
I am looking to integrate Cookie based authentication in my FastAPI App. I want the same to work seamlessly with swagger as well.
I want to have a route (e.g., /login) which sets my browser cookies. All other protected route uses Depends in the decorator to verify the key present... | https://stackoverflow.com/questions/66836600/cookie-based-authentication-in-fastapi | authentication, cookies, fastapi, openapi | 1,616,882,936 |
se_30828727 | stackoverflow | CYBERSECURITY | Storing user password in PHP for RESTful API authentication | Storing user password in PHP for RESTful API authentication
I am currently in the process of designing architecture which allows my client websites to communicate with a master RESTful API secured by Basic Authentication on another server using a cross origin header.
When users register on one of the websites the for... | https://stackoverflow.com/questions/30828727/storing-user-password-in-php-for-restful-api-authentication | php, rest, security, authentication | 1,434,280,679 |
se_77531516 | stackoverflow | CYBERSECURITY | Kong Ingress Controller: Failed parsing resource errors, dataplane-synchronizer Could not update kong admin | Kong Ingress Controller: Failed parsing resource errors, dataplane-synchronizer Could not update kong admin
I write this post even though I already solved the issue, because I think it might help someone out there, since I couldn't the cause nor a solution anywhere.
I'm learning Kong authentication strategies, in par... | https://stackoverflow.com/questions/77531516/kong-ingress-controller-failed-parsing-resource-errors-dataplane-synchronizer | authentication, kubernetes, api-gateway, kong | 1,700,669,473 |
se_70981046 | stackoverflow | CYBERSECURITY | What is the correct way to set a cookie expiration when using Azure AD to login users to an ASP.NET Core 5 Web Application? | What is the correct way to set a cookie expiration when using Azure AD to login users to an ASP.NET Core 5 Web Application?
We are creating an ASP.NET Core 5.0 MVC project with authentication being handled with Azure AD, so we need to make API calls with AddMicrosoftIdentityWebApp, which then allows us to inject the G... | https://stackoverflow.com/questions/70981046/what-is-the-correct-way-to-set-a-cookie-expiration-when-using-azure-ad-to-login | azure, asp.net-core, authentication, azure-active-directory, azure-web-app-service | 1,643,944,644 |
se_53942875 | stackoverflow | CYBERSECURITY | Instagram does not redirect the user to redirect-url after login | Instagram does not redirect the user to redirect-url after login
I have an issue while authenticating Instagram via my application. If the user has not signed in while doing authentication it directs me to Instagram login page after logging in it does not redirect to the app even I have given RedirectUrl in my app and... | https://stackoverflow.com/questions/53942875/instagram-does-not-redirect-the-user-to-redirect-url-after-login | android, authentication, http-redirect, instagram | 1,545,903,723 |
se_79692247 | stackoverflow | CYBERSECURITY | Boolean based authentication in JavaScript | Boolean based authentication in JavaScript
This is my first website so any advice will be appreciated.
Main questions
How can I stop functions from executing in JavaScript ?
Is this a bad authentication method? IE would I be better of building something else?
I am making a website that my friends and I can upload all ... | https://stackoverflow.com/questions/79692247/boolean-based-authentication-in-javascript | javascript, authentication | 1,751,854,098 |
se_75272118 | stackoverflow | CYBERSECURITY | NextJS - NextAuth: getToken always return null in middleware.ts | NextJS - NextAuth: getToken always return null in middleware.ts
I can't get the token data using getToken({req, secret}), always return null.
Next JS 13.1.1 and next-auth 4.3.4
package.json:
{
"name": "frontend",
"version": "0.1.0",
"private": true,
"scripts": {
"dev": "next dev",
"build": "next build"... | https://stackoverflow.com/questions/75272118/nextjs-nextauth-gettoken-always-return-null-in-middleware-ts | authentication, next.js, middleware, next-auth, next.js13 | 1,674,956,672 |
se_76662249 | stackoverflow | CYBERSECURITY | How to embed "AVEVA (OSI Soft) - Pi Vision" displays | How to embed "AVEVA (OSI Soft) - Pi Vision" displays
I am working on a website in which I want to integrate AVEVA (OSI Soft) Pi Vision. Main requirement is to embed the Pi Vision displays in the new website.
I have a user, by which I am able to login on the portal and can view the folders and their displays.... | https://stackoverflow.com/questions/76662249/how-to-embed-aveva-osi-soft-pi-vision-displays | authentication, curl, ntlm-authentication, osisoft | 1,689,080,341 |
se_79694168 | stackoverflow | CYBERSECURITY | MAUI Shell navigation - Best practice for login prompt | MAUI Shell navigation - Best practice for login prompt
I'm currently planning to migrate to MAUI's Shell navigation aiming to allow URL navigation, and I'm wondering how are usually handled the pages that require to be logged against those that don't. The plan is to prompt user to login when he tries to navigate to a ... | https://stackoverflow.com/questions/79694168/maui-shell-navigation-best-practice-for-login-prompt | authentication, maui, .net-maui.shell | 1,751,974,884 |
se_40722894 | stackoverflow | CYBERSECURITY | Devise_token_auth Reset Password Flow 401 Error | Devise_token_auth Reset Password Flow 401 Error
I'm trying to build a rails API and I'm using devise_token_auth gem for user authentication using tokens.
I managed to set everything up correctly and just bumped into a problem. Whenever I try to reset my password I get a 401 Unauthorized error from the API.
The flow ... | https://stackoverflow.com/questions/40722894/devise-token-auth-reset-password-flow-401-error | ruby-on-rails, authentication, devise | 1,479,739,646 |
se_79526387 | stackoverflow | CYBERSECURITY | Unable to authenticate Django user with email instead of username | Unable to authenticate Django user with email instead of username
I'm trying to implement email-based authentication in Django instead of using the default username. I’ve updated my User model and authentication backend, but I’m still unable to authenticate users with their email addresses.
views.py
from django.shortc... | https://stackoverflow.com/questions/79526387/unable-to-authenticate-django-user-with-email-instead-of-username | python, django, authentication, django-rest-framework, django-forms | 1,742,583,391 |
se_69340036 | stackoverflow | CYBERSECURITY | how to retrieve the token generated while using django allauth and django-rest-auth with django rest framework | how to retrieve the token generated while using django allauth and django-rest-auth with django rest framework
I am using django allauth and django-rest-auth from this tutorial to generate a token for django rest framework. The tutorial can be found on this page, at the bottom. (https://www.softcover.io/read/92780ad5/... | https://stackoverflow.com/questions/69340036/how-to-retrieve-the-token-generated-while-using-django-allauth-and-django-rest-a | python, django, authentication, django-rest-framework | 1,632,703,000 |
se_79440613 | stackoverflow | CYBERSECURITY | Authentication failed: method not found | Authentication failed: method not found
I am developing the JWT authorization part of my API, and I'm running into an issue where according to the exception stack I'm getting, the header cannot be decoded.
I get the following exceptions:
[Authentication failed]
[1º] Method not found: 'Void Microsoft.IdentityModel.Tok... | https://stackoverflow.com/questions/79440613/authentication-failed-method-not-found | c#, authentication, jwt | 1,739,569,790 |
se_79691008 | stackoverflow | CYBERSECURITY | How to prevent temporary email and mobile number used by users? | How to prevent temporary email and mobile number used by users?
In a membership website users are required to verify their mobile and email by one-time password while registering. There are some third-party websites and apps that provide temporary email id and temporary mobile number.
We find some users using these te... | https://stackoverflow.com/questions/79691008/how-to-prevent-temporary-email-and-mobile-number-used-by-users | authentication, security, identity, verification | 1,751,715,631 |
se_58916442 | stackoverflow | CYBERSECURITY | Route Guards in SAPUI5? | Route Guards in SAPUI5?
In SAP UI5 or OpenUI5 is it possible to restrict access to some routes? In other words, does UI5 provide any solution that works like Angular Route Guards? | https://stackoverflow.com/questions/58916442/route-guards-in-sapui5 | authentication, sapui5 | 1,574,086,160 |
se_79690148 | stackoverflow | CYBERSECURITY | SAML User identification on Service Provider | SAML User identification on Service Provider
In certain Identity Providers (IDPs), users can change their email addresses. Therefore, relying on email addresses for user identification on the Service Provider (SP) side is not feasible. When researching this issue, some sources suggested using persistent identifiers. H... | https://stackoverflow.com/questions/79690148/saml-user-identification-on-service-provider | authentication, authorization, single-sign-on, saml, saml-2.0 | 1,751,630,393 |
se_79689781 | stackoverflow | CYBERSECURITY | $request->getAttribute('fe_user') returns NULL in Typo3 v13 | $request->getAttribute('fe_user') returns NULL in Typo3 v13
I'm new to TYPO3 v13 and am currently trying to write a small login middleware, really simple at first. But somehow I can't get any further with $request->getAttribute(‘fe_user’). It always returns NULL. What could be the reason for this? What else... | https://stackoverflow.com/questions/79689781/request-getattributefe-user-returns-null-in-typo3-v13 | authentication, frontend, typo3, middleware, typo3-13.x | 1,751,612,427 |
se_50766693 | stackoverflow | CYBERSECURITY | How to center a component in Material UI and make it responsive? | How to center a component in Material UI and make it responsive?
I don't quite understand the Material UI grid system. If I want to use a form component for login, what is the easiest way to center it on the screen on all devices (mobile and desktop)? | https://stackoverflow.com/questions/50766693/how-to-center-a-component-in-material-ui-and-make-it-responsive | reactjs, authentication, mobile, material-ui, desktop | 1,528,483,349 |
se_79494962 | stackoverflow | CYBERSECURITY | How to set Additional Checks in Azure App Service Authentication in Bicep script? | How to set Additional Checks in Azure App Service Authentication in Bicep script?
How to set Additional Checks in Azure App Service Authentication in Bicep script?
Here are the checks for your ready reference,
Client application requirement
Allow requests only from this application itself
Allow requests from specific ... | https://stackoverflow.com/questions/79494962/how-to-set-additional-checks-in-azure-app-service-authentication-in-bicep-script | azure, authentication, azure-bicep, azure-appservice | 1,741,464,110 |
se_79684370 | stackoverflow | CYBERSECURITY | on_login function not getting executed in flet auth | on_login function not getting executed in flet auth
I am trying to create a login using discord oauth in flet.but the on_login function is not getting executed
my imports:
import os
import flet
from flet import ElevatedButton, Page
from flet.auth import OAuthProvider
my code:
def main(page: Page):
provider = OA... | https://stackoverflow.com/questions/79684370/on-login-function-not-getting-executed-in-flet-auth | python, authentication, discord, oauth, flet | 1,751,268,439 |
se_79686314 | stackoverflow | CYBERSECURITY | Custom expiry time in jwt token in NextAuth | Custom expiry time in jwt token in NextAuth
How to set custom expiry time for jwt in next-auth, i want to setup the time based on remember me marked on the frontend, but when setting token.exp in jwt callback nothing happens, the token expiry time remains 30 days which is default, i'm using next-auth v4, setting maxAg... | https://stackoverflow.com/questions/79686314/custom-expiry-time-in-jwt-token-in-nextauth | authentication, next.js, next.js13, credentials, next-auth | 1,751,385,248 |
se_74411027 | stackoverflow | CYBERSECURITY | Error :: File google-services.json is missing. The Google Services Plugin cannot function without it. on real android device testing | Error :: File google-services.json is missing. The Google Services Plugin cannot function without it. on real android device testing
Execution failed for task ':app:processDebugGoogleServices'.
> File google-services.json is missing. The Google Services Plugin cannot function without it.
Searched Location:
/Use... | https://stackoverflow.com/questions/74411027/error-file-google-services-json-is-missing-the-google-services-plugin-cannot | android, flutter, firebase, authentication | 1,668,236,933 |
se_66194269 | stackoverflow | CYBERSECURITY | TypeError: Cannot read property'ReactCurrentDispatcher'of undefined | TypeError: Cannot read property'ReactCurrentDispatcher'of undefined
when I try to upgrade the React version , windows rise an error.
the project is react, typescript and firebase for make authentication.
package.json file (dependencies,scripts)
{
"name": "my-app",
"version": "0.1.0",
"private": true,
... | https://stackoverflow.com/questions/66194269/typeerror-cannot-read-propertyreactcurrentdispatcherof-undefined | reactjs, typescript, firebase, authentication | 1,613,296,890 |
se_32931605 | stackoverflow | CYBERSECURITY | View source code with login (PHP) | View source code with login (PHP)
I am trying to view the source code of a website which needs Google login.
I am logged into my Google account on Chrome, and I am running the php file on Chrome using XAMPP.
My code:
<?php
$homepage = file_get_contents('http://www.example.com/');
echo $homepage;
?>
However... | https://stackoverflow.com/questions/32931605/view-source-code-with-login-php | php, file, google-chrome, authentication, xampp | 1,443,947,922 |
se_24304752 | stackoverflow | CYBERSECURITY | How to handle authentication popup with Selenium WebDriver using Java | How to handle authentication popup with Selenium WebDriver using Java
I'm trying to handle authentication popup using the code below:
FirefoxProfile profile = new FirefoxProfile();
profile.setPreference("network.http.phishy-userpass-length", 255);
profile.setPreference("network.automatic-ntlm-auth.trusted-uris", "x.x... | https://stackoverflow.com/questions/24304752/how-to-handle-authentication-popup-with-selenium-webdriver-using-java | java, authentication, selenium, selenium-webdriver, popup | 1,403,174,874 |
se_79684104 | stackoverflow | CYBERSECURITY | Unable to Authenticate Git For Azure Dev | Unable to Authenticate Git For Azure Dev
Issue: I have been using git on my windows machine to contribute to an azure repo. A few days back, while trying to push some code to remote, I was prompted to sign in, on entering my username and password, I get an incorrect password error.
What I have tried so far:
Changin... | https://stackoverflow.com/questions/79684104/unable-to-authenticate-git-for-azure-dev | windows, git, authentication, azure-repos | 1,751,237,806 |
se_46627979 | stackoverflow | CYBERSECURITY | What is the default user and password for elasticsearch? | What is the default user and password for elasticsearch?
I have installed Elastic with Docker:
docker run -p 9200:9200 \
-p 9300:9300 \
-e "discovery.type=single-node" \
docker.elastic.co/elasticsearch/elasticsearch:5.6.2
But curl localhost:9200 fails with an authentication error:
{
... | https://stackoverflow.com/questions/46627979/what-is-the-default-user-and-password-for-elasticsearch | docker, authentication, elasticsearch, credentials | 1,507,442,210 |
se_75572706 | stackoverflow | CYBERSECURITY | How to authenticate to Github from Git Extensions with access token? | How to authenticate to Github from Git Extensions with access token?
I try to push branch with Git Extensions to GitHub, but when pushing the change it displays a Github pop-up window to login.
When pushing repo changes from Git Extensions, it displays a Github pop-up window to login.
I created access token as @invzbl... | https://stackoverflow.com/questions/75572706/how-to-authenticate-to-github-from-git-extensions-with-access-token | git, authentication, github, oauth, git-commit | 1,677,422,319 |
se_79674712 | stackoverflow | CYBERSECURITY | How to add a "Full Name" field to the Auth0 New Universal Login signup page | How to add a "Full Name" field to the Auth0 New Universal Login signup page
I'm trying to customize the Auth0 New Universal Login experience. My goal is to add a "Full Name" field directly to the signup page, so that it appears on the same screen as the "Email" and "Password" fields.
The desired user experie... | https://stackoverflow.com/questions/79674712/how-to-add-a-full-name-field-to-the-auth0-new-universal-login-signup-page | reactjs, authentication, auth0, auth0-lock | 1,750,535,530 |
se_79677971 | stackoverflow | CYBERSECURITY | Intermittent 403 Errors with Spring Security App Deployed on Digital Ocean | Intermittent 403 Errors with Spring Security App Deployed on Digital Ocean
I have my spring boot / security being hosted by digital ocean and I am trying to access it from my local machine. I am seeing intermittent 403 errors for the authenticated endpoints. It is really strange I can send the same exact request in po... | https://stackoverflow.com/questions/79677971/intermittent-403-errors-with-spring-security-app-deployed-on-digital-ocean | java, authentication, spring-security, jwt, digital-ocean | 1,750,785,184 |
se_51430267 | stackoverflow | CYBERSECURITY | Logout in nodejs | Logout in nodejs
My app is on express, mongoDB. I add authorization by session. Don't work logout. There is the link on a page (this is pug):
a(href="/logout") logout
It's handler:
app.get('/logout', function (req, res, next) {
if (req.session) {
// delete session object
req.session.destroy(function ... | https://stackoverflow.com/questions/51430267/logout-in-nodejs | node.js, mongodb, express, session, authentication | 1,532,027,629 |
se_45962238 | stackoverflow | CYBERSECURITY | keycloak initial login does not work with admin username and password | keycloak initial login does not work with admin username and password
I cannot login to keycloak in the initial setup. I managed to run the server via /standalone.sh -b=0.0.0.0 command and when accessing it via http://x.x.x.x:8080 the login page doesn't allow me to login with admin/admin username and password. any hin... | https://stackoverflow.com/questions/45962238/keycloak-initial-login-does-not-work-with-admin-username-and-password | authentication, keycloak | 1,504,100,870 |
se_79675283 | stackoverflow | CYBERSECURITY | .NET OIDC token mapping different between id_token and userinfo endpoint | .NET OIDC token mapping different between id_token and userinfo endpoint
I'm creating a website that needs to be able to use different OIDC providers.
This website will map a claim, myclaim, to user roles.
The two providers I test with returns this claim in either the id_token or in the userinfo endpoint.
When the cla... | https://stackoverflow.com/questions/79675283/net-oidc-token-mapping-different-between-id-token-and-userinfo-endpoint | .net, authentication, jwt, openid-connect | 1,750,610,189 |
se_22802666 | stackoverflow | CYBERSECURITY | How to download file from website that requires login information using Python? | How to download file from website that requires login information using Python?
I am trying to download some data from a website using Python. If you simply copy and paste the url, it shows nothing unless you fill in the login information. I have the login name and password, however how should I include these in Pytho... | https://stackoverflow.com/questions/22802666/how-to-download-file-from-website-that-requires-login-information-using-python | python, html, authentication, urllib2 | 1,396,418,159 |
se_69201175 | stackoverflow | CYBERSECURITY | auth()->attempt($request->only('email','password')) - Not Working | auth()->attempt($request->only('email','password')) - Not Working
**
This is my LoginController.php :
**
<?php
namespace App\Http\Controllers\Auth;
use App\Http\Controllers\Controller;
use Illuminate\Http\Request;
class LoginController extends Controller
{
public function login()
{
... | https://stackoverflow.com/questions/69201175/auth-attemptrequest-onlyemail-password-not-working | php, laravel, authentication | 1,631,753,023 |
se_68775598 | stackoverflow | CYBERSECURITY | WebAuthn: Can't create public key. Promise is rejected | WebAuthn: Can't create public key. Promise is rejected
I am trying to get WebAuthn set up on our login page. I am to the part where I need to make the public key using navigator.credentials.create(). On Chrome, I keep getting the following error: Uncaught (in promise) DOMException: The operation either timed out o... | https://stackoverflow.com/questions/68775598/webauthn-cant-create-public-key-promise-is-rejected | javascript, authentication, webauthn | 1,628,871,889 |
se_67629028 | stackoverflow | CYBERSECURITY | FastAPI authentication injection | FastAPI authentication injection
My application has an AuthenticateService implemented as follows:
from domain.ports.repositories import ISalesmanRepository
from fastapi import HTTPException, status
from fastapi_jwt_auth import AuthJWT
from fastapi_jwt_auth.exceptions import JWTDecodeError
from shared.exceptions impor... | https://stackoverflow.com/questions/67629028/fastapi-authentication-injection | python, authentication, fastapi | 1,621,552,107 |
se_66591729 | stackoverflow | CYBERSECURITY | Swift - Sign in with apple always results in 'Sign up not completed' after the facial recognition runs | Swift - Sign in with apple always results in 'Sign up not completed' after the facial recognition runs
I started out by following this tutorial to set up 'Sign in with apple' using Firebase:
https://medium.com/swift-productions/sign-in-with-apple-with-firebase-authentication-xcode-12-swift-5-3-7f5ee7902ea3
How... | https://stackoverflow.com/questions/66591729/swift-sign-in-with-apple-always-results-in-sign-up-not-completed-after-the-f | ios, swift, firebase, authentication, apple-sign-in | 1,615,503,166 |
se_76422549 | stackoverflow | CYBERSECURITY | How to add authentication for Swift in Xcode environment | How to add authentication for Swift in Xcode environment
The Swift package manager recently added support for registries for hosting binary packages. I have successfully created Swift packages and resolved them from a local Artifactory instance.
Setting up authentication directly for Swift can be done through the comm... | https://stackoverflow.com/questions/76422549/how-to-add-authentication-for-swift-in-xcode-environment | swift, authentication, artifactory, swift-package-manager | 1,686,135,243 |
se_39909419 | stackoverflow | CYBERSECURITY | What are the main differences between JWT and OAuth authentication? | What are the main differences between JWT and OAuth authentication?
I have a new SPA with a stateless authentication model using JWT. I am often asked to refer OAuth for authentication flows like asking me to send 'Bearer tokens' for every request instead of a simple token header but I do think that OAuth is a lot mor... | https://stackoverflow.com/questions/39909419/what-are-the-main-differences-between-jwt-and-oauth-authentication | authentication, oauth, oauth-2.0, jwt | 1,475,814,647 |
se_79677813 | stackoverflow | CYBERSECURITY | How to authenticate with FactSet on iOS when iframe doesn't work? | How to authenticate with FactSet on iOS when iframe doesn't work?
I'm working on integrating FactSet authentication into my web application.
For Windows and Android, I’m currently using an iframe to load the FactSet auth page and capture the token using window.postMessage. This works perfectly.
const iframeRef = u... | https://stackoverflow.com/questions/79677813/how-to-authenticate-with-factset-on-ios-when-iframe-doesnt-work | ios, reactjs, iphone, authentication, iframe | 1,750,777,872 |
se_79676336 | stackoverflow | CYBERSECURITY | Msal URI wont authenticate user | Msal URI wont authenticate user
I am having an issue with my MSAL Setup.
I am using IONIC, Angular and MSAL for my frontend.
My application works on web but when i publish my site to an apk my application does not redirect the user once the client has been athenticated instead i am taken back to the login screen.I hav... | https://stackoverflow.com/questions/79676336/msal-uri-wont-authenticate-user | angular, authentication, ionic-framework, token, msal | 1,750,689,358 |
se_79668167 | stackoverflow | CYBERSECURITY | Unable to access Influxdb web UI due to wrong credentials (InfluxDB 2.7) | Unable to access Influxdb web UI due to wrong credentials (InfluxDB 2.7)
The Influxd (version 2.7) is running and the Web UI with logon page is showing at http://127.0.0.1:8086/signin. However, I can't logon (I didn't define the customized username/password).
I also tried to provide a known username/password but faile... | https://stackoverflow.com/questions/79668167/unable-to-access-influxdb-web-ui-due-to-wrong-credentials-influxdb-2-7 | authentication, influxdb | 1,750,103,723 |
se_2339057 | stackoverflow | CYBERSECURITY | Turn off Always Prompt For Logon Credentials in Outlook 2007 using vbscript | Turn off Always Prompt For Logon Credentials in Outlook 2007 using vbscript
Is it possible to turn off "Always Prompt For Logon Credentials" in Outlook 2007 using vbscript? | https://stackoverflow.com/questions/2339057/turn-off-always-prompt-for-logon-credentials-in-outlook-2007-using-vbscript | vbscript, outlook, credentials, prompt, authentication | 1,267,150,007 |
se_79673621 | stackoverflow | CYBERSECURITY | Expo apple authentication works on emulator and Expo Go, but fails when app deployed to Test Flight | Expo apple authentication works on emulator and Expo Go, but fails when app deployed to Test Flight
Any help will be greatly appreciated. My team is stuck due to this weird issue for a weak now !
Here's my situation
I am creating a React Native app using Expo
To login with Apple I am using expo-apple-authentication p... | https://stackoverflow.com/questions/79673621/expo-apple-authentication-works-on-emulator-and-expo-go-but-fails-when-app-depl | ios, react-native, authentication, expo, apple-authentication | 1,750,432,322 |
se_79524260 | stackoverflow | CYBERSECURITY | Laravel 419 Page Expired on Hosting but Works Locally | Laravel 419 Page Expired on Hosting but Works Locally
I recently faced an issue with my Laravel application after deploying it to a hosting server. When trying to log in, I kept getting the following error:
419 Page Expired
However, everything worked perfectly on my local development environment.
I spent hours trouble... | https://stackoverflow.com/questions/79524260/laravel-419-page-expired-on-hosting-but-works-locally | php, laravel, authentication, session, cookies | 1,742,512,377 |
se_2172569 | stackoverflow | CYBERSECURITY | How can I log in and authenticate to PostgreSQL after a fresh install? | How can I log in and authenticate to PostgreSQL after a fresh install?
I did a new install of PostgreSQL 8.4 on Linux Mint/Ubuntu. How do I create a user for PostgreSQL and log in using psql?
When I type psql, it just tells me
psql: FATAL: Ident authentication failed for user "my-ubuntu-username" | https://stackoverflow.com/questions/2172569/how-can-i-log-in-and-authenticate-to-postgresql-after-a-fresh-install | database, postgresql, authentication, ubuntu, passwords | 1,264,958,291 |
se_31678827 | stackoverflow | CYBERSECURITY | What is a Pythonic way for Dependency Injection? | What is a Pythonic way for Dependency Injection?
Introduction
For Java, Dependency Injection works as pure OOP, i.e. you provide an interface to be implemented and in your framework code accept an instance of a class that implements the defined interface.
Now for Python, you are able to do the same way, but I think th... | https://stackoverflow.com/questions/31678827/what-is-a-pythonic-way-for-dependency-injection | python, oop, authentication, dependency-injection, frameworks | 1,438,092,611 |
se_5402611 | stackoverflow | CYBERSECURITY | Defining Spring Security user roles | Defining Spring Security user roles
I am going to design an application which authenticates user from another application . Basically my application is going to get only if the user is authenticated (true or false) and the user role .
Can I use spring security to make use of this role and give fine grained control ?
... | https://stackoverflow.com/questions/5402611/defining-spring-security-user-roles | authentication, spring-security, authorization | 1,300,869,244 |
se_79672876 | stackoverflow | CYBERSECURITY | Refresh Token Rotation lead to Infinite Time logged in | Refresh Token Rotation lead to Infinite Time logged in
Currently, I am trying to implement access token and refresh token in my application.
I am storing the refresh token in the user schema.
interface IUser {
refreshTokens: []
}
When the user logs in, I'm creating a new access token and refresh token and saving... | https://stackoverflow.com/questions/79672876/refresh-token-rotation-lead-to-infinite-time-logged-in | node.js, authentication, refresh-token, httpcookie | 1,750,395,322 |
se_42674661 | stackoverflow | CYBERSECURITY | Could not load file or assembly 'System.Diagnostics.DiagnosticSource on ASP.Net Core migration from VS2015 to VS2017 | Could not load file or assembly 'System.Diagnostics.DiagnosticSource on ASP.Net Core migration from VS2015 to VS2017
I have a web in ASP.Net Core (4.6.1 framework) that uses Facebook and MS external login that I created with Visual Studio 2015 and opened in the new Visual Studio 2017 that came out yesterday. VS201... | https://stackoverflow.com/questions/42674661/could-not-load-file-or-assembly-system-diagnostics-diagnosticsource-on-asp-net | authentication, asp.net-core, facebook-login, visual-studio-2017 | 1,488,985,042 |
se_72850015 | stackoverflow | CYBERSECURITY | Unity Authentication for Android - SignInWithGoogleAsync Throws Permission Denied | Unity Authentication for Android - SignInWithGoogleAsync Throws Permission Denied
I'm sure I'm missing something silly but after I retrieve and pass the google id token to Unity Authentication I get the errors:
[Authentication]: Request failed: 401, {"title":"PERMISSION_DENIED","detail":"validation failed","details":[... | https://stackoverflow.com/questions/72850015/unity-authentication-for-android-signinwithgoogleasync-throws-permission-denie | unity-game-engine, authentication, google-play-services, permission-denied | 1,656,883,419 |
se_29362549 | stackoverflow | CYBERSECURITY | How to stay logged in even when user force quits the app with Ionic / Cordova? | How to stay logged in even when user force quits the app with Ionic / Cordova?
A common piece of functionality for native mobile applications is the ability to stay logged in even if the user closes the application in question (see e.g. the Facebook app on iOS).
How can this be achieved for a Cordova / Ionic / PhoneG... | https://stackoverflow.com/questions/29362549/how-to-stay-logged-in-even-when-user-force-quits-the-app-with-ionic-cordova | cordova, authentication, persistence, ionic-framework | 1,427,785,374 |
se_79671425 | stackoverflow | CYBERSECURITY | Paypal auth not behaving correctly | Paypal auth not behaving correctly
How do I fix these issues with paypal auth urls?
I was trying to run Paypal auth with my web app so I have a button that takes me to a url to sign into Paypal.
I have three issues:
Paypal isn't letting me login even though I'm certain my Paypal email and password are correct.
Paypal... | https://stackoverflow.com/questions/79671425/paypal-auth-not-behaving-correctly | authentication, paypal, oauth, paypal-sandbox | 1,750,293,198 |
se_55731295 | stackoverflow | CYBERSECURITY | og:title/meta for wordpress login | og:title/meta for wordpress login
I have an issue concerning my og:title/meta description of my wordpress page silex.solutions.
For the site itself, the meta title, description, etc. has been set right. But as soon as it is posted anywhere else, for example, on Facebook, the crawler reads the redirect that leads to si... | https://stackoverflow.com/questions/55731295/ogtitle-meta-for-wordpress-login | php, wordpress, authentication, html-meta | 1,555,515,314 |
se_79669269 | stackoverflow | CYBERSECURITY | Symfony custom authenticator and form login ldap at the same time | Symfony custom authenticator and form login ldap at the same time
Is there a mechanism to use custom authenticator and form login ldap at the same time? Any solution for logic like "if first authentication method not authenticate user use next"? In my case ldap authentication works well, but if I add "custom_authentic... | https://stackoverflow.com/questions/79669269/symfony-custom-authenticator-and-form-login-ldap-at-the-same-time | authentication, symfony, security, ldap, authenticator | 1,750,170,432 |
se_79665653 | stackoverflow | CYBERSECURITY | How to add user authentication to specific endpoints in FastAPI? | How to add user authentication to specific endpoints in FastAPI?
Could you please tell me how to create endpoints that only work after user authentication? I need only the endpoints located below the line files = [], in the example below, to work this way. At the moment, everything works without authentication, even t... | https://stackoverflow.com/questions/79665653/how-to-add-user-authentication-to-specific-endpoints-in-fastapi | python, authentication, security, fastapi | 1,749,886,105 |
se_60496926 | stackoverflow | CYBERSECURITY | Issues reseting root password in mysql 8 on windows | Issues reseting root password in mysql 8 on windows
I am using MySQL 8 on Windows 10, and I am trying to reset my root password. (Shared lab computers, no idea what the original password was). I am following these directions:
https://www.cnblogs.com/jackmary/p/9746454.html
and
https://www.pixelstech.net/article/15... | https://stackoverflow.com/questions/60496926/issues-reseting-root-password-in-mysql-8-on-windows | mysql, windows, authentication, root | 1,583,184,503 |
se_9001702 | stackoverflow | CYBERSECURITY | PHP Session Destroy on Log Out Button | PHP Session Destroy on Log Out Button
I'm currently working on a site that has a log-in (username and password) - The password protection is done by the operating system within the web server at folder level called a Realm within the OS. For now this will have to do, until we figure out a proper PHP log in system.
T... | https://stackoverflow.com/questions/9001702/php-session-destroy-on-log-out-button | php, authentication, logout | 1,327,489,757 |
se_79667598 | stackoverflow | CYBERSECURITY | Why is auth:sanctum used on api routes and not on web routes? | Why is auth:sanctum used on api routes and not on web routes?
I am using Laravel sanctum SPA auth to protect my routes/api.php routes. Instead of manually implementing the routes and controllers for authentication, I am using Laravel Fortify.
Now Fortify adds fortify.auth_middleware to some of the routes that should b... | https://stackoverflow.com/questions/79667598/why-is-authsanctum-used-on-api-routes-and-not-on-web-routes | laravel, authentication, middleware, laravel-sanctum, laravel-fortify | 1,750,076,230 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.