Skip to main content
How are we doing? Please help us improve Stack Overflow. Take our short survey
Best practices
1 vote
0 replies
29 views

I’m integrating an internal SSO (OAuth2) into a web application using Gin (Go), and I’m a bit unsure about the right place to create the application session. The SSO is the only authentication ...
meng's user avatar
  • 25
0 votes
0 answers
67 views

I am having problems understanding how to get .NET 8.0 session and authorization working together. Most of my controllers are decorated with the Authorize attribute, and I am accessing session ...
user517406's user avatar
  • 13.8k
0 votes
0 answers
44 views

Environment Keycloak Version: 26.3.0 Deployment: Kubernetes (multiple pods) Database: Oracle Issue: Persistent 401 errors after database manipulation Error message screen Problem Description After ...
Ismail Muhammad's user avatar
0 votes
2 answers
135 views

Authentication flow: User is redirected back to my site (to /auth/callback) after logging in with a 3rd party. The redirect back includes query params. The React function on the callback page sends ...
Thomas's user avatar
  • 7
3 votes
0 answers
155 views

I have been trying to build a shopping cart with PHP and MySQL as a learning experiment. I am stuck at passing the ordered items from catalogue to the shopping cart. After many experiments I figured ...
AzAzar's user avatar
  • 31
0 votes
1 answer
60 views

I have implemented or extended on top of Spring Authorization server. I have a authentication controller that accesses the client-id from the RequestCache object. Now, I have built a sample OAuth app ...
Katlock's user avatar
  • 1,418
0 votes
0 answers
105 views

I'd like to implement a system that allows recognizing a user even after the app's cache and data have been cleared from the system settings, as X (Twitter) appears to do. However, I can't figure out ...
Paul's user avatar
  • 4,628
-1 votes
1 answer
71 views

A question on consideration for case/approach choice. Let's say we have an app that has an ORM model and also uses simple realisation of the Command pattern. Inside of each command we need to ...
Gennadiy's user avatar
  • 341
0 votes
0 answers
84 views

I need to integrate with a third-party system. I need to authenticate there and obtain a sessionId. So, my application will have a URL, login, and password to obtain a sessionId. But to avoid having ...
Aliaksei's user avatar
  • 1,457
0 votes
0 answers
62 views

I'm using laravel 8 with SESSION_DRIVER=file I have code that run like below, and I have a problem why the recursive not extending the expired time of session? Each process take 30sec, but after ...
Cahya Purnama's user avatar
1 vote
1 answer
101 views

I'm trying to use gin-contrib/sessions but every time I make a request to the server a new session is created. It is never finding a previously created session and I can't access any data that should ...
Brent Parker's user avatar
0 votes
0 answers
59 views

In my Jakarta EE application (EJB + JPA with Hibernate), I have the following scenario: A Contact entity is created (INSERT). Immediately after creation, for some business reason, the same entity is ...
Raushan's user avatar
  • 347
0 votes
0 answers
61 views

I have a Next.js frontend and NestJS backend. In the backend there is token generation with refresh token rotation logic, and I want to use the same tokens in the frontend with NextAuth setup. Here’s ...
Sudeep Lamichhane's user avatar
1 vote
1 answer
112 views

I have the following file /common/session.php <?php session_start(); $secret = getenv('SECRET'); $userinfo = array( 'private'=>$secret ); if(isset($_GET['logout'])...
lharby's user avatar
  • 3,337
0 votes
1 answer
169 views

I am using session ids to enable various features for logged and unlogged users on my website. This include matching the csrf token to the session id. I store the session id as a SameSite=lax cookie. ...
kunnix's user avatar
  • 91

15 30 50 per page
1
2 3 4 5
2950