No SessionId written to my Oracle Database #130
-
BFF version2.3 .NET version8 DescriptionBFF seems to be almost working but the SessionId column is always null even if all the other columns look to be properly filled out. It's an Oracle database and the column was created with the case-sensitive "SessionId" VARCHAR2(200) and is nullable. The session Id is visible in the Blazor cache of the web app that connects to the Duende oauth app. Reproduction stepsRun my portal against my oauth using my database. Expected behaviorI expect the SessionId column to magically be populated like all the other columns. LogsDuende.Bff.EntityFramework.UserSessionStore
/connect/authorize/callback
Getting user session record from store for sub "[email protected]" sid null Additional contextNo response |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Can you please intercept the SQL query used to insert a new session and post it here? |
Beta Was this translation helpful? Give feedback.
The problem was that I thought BFF had to be implemented in the Oauth2 server as well as the Blazor server web portal that used it. Turned out it only needed to be implemented in Blazor. Doing it in both caused a database entry to be written before the session was created.