75,745 questions
0 votes
0 answers
13 views
DefaultAzureCredential failed to retrieve a token from the included credentials
I am trying to follow this: https://learn.microsoft.com/en-us/azure/ai-foundry/agents/how-to/tools/code-interpreter?view=foundry-classic&pivots=csharp I have (in my local Visual Studio Environment)...
0 votes
1 answer
18 views
apache auth-kerb and a user list to allow doesnt work
I guess the solution is quite easy, but I just dont see the point: We had a kerb auth working, but s'one destroyed it quite a while ago. Now I dont get it working again: kerb authentication works and ...
0 votes
1 answer
68 views
401 Unauthorized despite sending login token in Headers
I am trying to do a POST to an API endpoint api/auth/assign-role with this data : { "userId": "3d2243fc-8d32-4889-a7e2-624af56a3f91", "role": "Doctor" } ...
0 votes
0 answers
15 views
Swagger Caching Authentication parameters
I have an ASP.NET Core Web API. I am using Swagger, so when I run my app in debug mode, the Swagger page appears and I can test my endpoints. I also have authentication, and crucially, I'm ...
Best practices
0 votes
3 replies
56 views
Is it allowed to ask “Sign in with Apple” users for their real email address if they chose “Hide My Email”?
I’m using Sign in with Apple in my iOS app. When a user chooses “Hide My Email”, I receive the @privaterelay.appleid.com relay address. For marketing reasons, I would prefer to have the user’s real ...
-1 votes
0 answers
27 views
Keycloak - deny access if user email not Verified (using External Identity Provider)
I have Keycloak 26 running for user authentication, and I wanted to add federated users, for testing I basically have another Keycloak running somewhere else (let's call it Keycloak 2). So I create my ...
0 votes
0 answers
30 views
Is it possible to map individual user identities from Gemini Enterprise to Snowflake for SSO-based authentication?
We are testing an integration between Gemini Enterprise (GCP-managed environment) and Snowflake. The goal is to allow each user in Gemini Enterprise to query Snowflake with their own identity, not ...
1 vote
0 answers
55 views
How to enable endpoints with optional authentication using the Litestar framework
I am trying to define endpoints in a Litestar application in which authentication is optional, but am failing to understand how this can be accomplished with the JWTAuth security backend. With an ...
Best practices
0 votes
0 replies
32 views
How to integrate a new authentication microservice (v2) with a legacy monolithic system (v1)?
We currently have a new microservice that handles authentication, authorization (RBAC), and KYC as part of our v2 architecture. We also have an older legacy system (v1) which is fully monolithic — ...
Advice
0 votes
0 replies
72 views
Design review: ntfy-based remote unlock for Vaultwarden without exposing .env passphrase on a compromised host?
(If you want to skip to the part I ask the question, scroll down to the last section with the heading "Concrete question".) I’m working on a home lab / learning project and would appreciate ...
Advice
0 votes
1 replies
66 views
Django: Separate session expiry times for "normal" website and admin area
It would be nice if there were an easy way to define separate session expiry time for the admin area of a django website. So, admin users could log themselves into the "normal" website (seen ...
1 vote
1 answer
71 views
Passing user data from NextJS middleware to the client component
I want to pass the data from the NextJS middleware to the client component. I am using NextJS for the frontend, and an Express API for the backend. I could do it with X-Headers but what I want to send ...
0 votes
2 answers
118 views
"ERROR: gcloud crashed (Warning): Scope has changed" when trying to run `gcloud auth application-default login --no-launch-browser`
I want to run some Python code that uses the Google Cloud Platform. To log in the gcloud CLI, I used to use. gcloud auth application-default login --no-launch-browser But since recently it gives this ...
5 votes
1 answer
82 views
CloudKit Web Services Server-to-server Authentication failed using PHP
I've been trying to get the server to server request for quite some time, but unfortunately I keep getting this error: 2025-11-19T03:19:29Z:"mybody":/database/1/"mycontainer"/...
0 votes
1 answer
73 views
Why doesn't cookie authentication work in my Blazor .NET 8 app?
I've been having trouble trying to set up simple authentication/authorization for my web app. Currently I have auth page @page "/auth" @rendermode InteractiveServer @using System.Text....