question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

MsSql: Runtime To Database Authorization - Session Context

See original GitHub issue
  • Set the Session Context with all the claims passed in the EasyAuth InjectedHeader
  • The configuration file may contain the following option
"mssql": {
    "set-session-context": true
}

set-session-context is optional. It is false by default and tells Data API builder engine to pass received JWT claims into the session context. The name of the key containing the claims is $dab-claims

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
seantleonardcommented, Aug 26, 2022

@Aniruddh25 i moved this to november based on discussion earlier this week about prioritization. This would be net-new auth feature that is scope of Database engine authorization features.

0reactions
Aniruddh25commented, Jan 14, 2023

#1084 completed this.

Read more comments on GitHub >

github_iconTop Results From Across the Web

SQL Server SESSION_CONTEXT() function with examples
Before SQL Server 2016, we use the CONTEXT_INFO function. We retrieve session context values for all active sessions using this CONTEXT_INFO ...
Read more >
sp_set_session_context (Transact-SQL) - SQL Server
Sets a key-value pair in the session context. ... Permissions. Any user can set a session context for their session.
Read more >
sys.dm_exec_sessions (Transact-SQL) - SQL Server
Column name Data type Description and version‑specific information text_size int TEXTSIZE setting for the session. Not nullable. language nvarchar(128) LANGUAGE setting for the session. Is...
Read more >
The server principal is not able to access the database ...
I am trying to access my hosting server's database through SQL Server Management Studio, everything till login is fine but when I use...
Read more >
Configuring private sessionState database raises runtime ...
Go to the Walkthrough for Setting up SQL Server Shared Session State and make scroll down to Configure Sitecore. Ensure that your Sitecore ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found