6,608 questions with no answers
Best practices
1
vote
0
replies
29
views
Where should I create the application session when using an internal SSO (Gin + OAuth2)?
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 ...
1
vote
0
answers
22
views
How to setup session and user_id as soon as the method is called? (Codeigniter)
I have these two methods responsible for adding users from another system in that system.
private function api_login($email, $password){
$curl = curl_init();
curl_setopt_array($curl, [
...
0
votes
0
answers
398
views
codeigniter session doesn't work in my desktop
I'm making website using web framework that is codeigniter.
When i use session, It doesn't work. So i visit codeigniter forum that is also made up of codeigniter. Then i login that site. But same ...
0
votes
0
answers
67
views
.NET 8.0 getting session and authorization working together
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 ...
0
votes
0
answers
44
views
Users getting 401 "Unauthorized" error after direct database credential/session deletion - Keycloak 26.3.0
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 ...
0
votes
0
answers
286
views
nginx, PHP, session data trouble with server sent event
I'm using several technologies for a web application:
nodejs for socket.io and request
nginx / PHP
server sent event
session store in a mongodb collection.
node/socketio/request: acts as a ...
0
votes
0
answers
105
views
How to recognize a user even after clearing cache and data?
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 ...
0
votes
0
answers
84
views
How to save global variable in Spring application
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 ...
0
votes
0
answers
62
views
Laravel session lifetime on recursive ajax
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 ...
0
votes
0
answers
59
views
How to suppress redundant update in Hibernate when insert + update happen in same transaction (trigger firing twice)?
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 ...
0
votes
0
answers
61
views
Need help updating token in next auth. (next.js app router)
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 ...
1
vote
0
answers
1k
views
How do I persist database connection and scope session to a tenant and how do I configure Laravel Fortify for tenant's user in laravel multi-tenancy?
I'm working on a laravel multi-tenant set-up with subdomain and database per tenant without any package. Tenant sign up, database creation, migrations and assigning subdomain, login, etc, all work.
...
3
votes
0
answers
92
views
How do I generate a stable document ID for SQL executions when polling Oracle gv$session into Elasticsearch via Logstash?
I’m building a pipeline that polls Oracle’s gv$session joined with gv$sql every 5 seconds to track query executions. Each poll returns multiple rows (one per active session), and I need to aggregate ...
0
votes
0
answers
74
views
SpringBoot 4 Redis session and ViewExpiredException
I'm trying to create the skeleton for a new web app, with SpringBoot 4, JSF 4 and session cluster with redis. Everything works until I try to replicate Spring session with Redis.
This is abstract of ...
1
vote
0
answers
78
views
supabase-js v2: PKCE session lost after tab switch (persistSession + autoRefreshToken not working)
Using @supabase/[email protected]
PKCE flow enabled
Config: persistSession: true, autoRefreshToken: true
On tab switch → auth.getSession() returns null
Question: Is this a known bug with PKCE session ...