cancel
Showing results for 
Search instead for 
Did you mean: 

Retrieving User Scopes from req.authInfo in Node.js with XSUAA Authorization

poomathi
Explorer
0 Kudos
99

Hi all,

I have a question about accessing scope information in a Node.js application. Specifically, the 'checkScope' method is used to check whether a specific scope is assigned to a user or not. However, I want to know if there's a way to directly access the scope information from 'req.authInfo' to determine what scopes the user has. How can I achieve that ?

Thank you.

View Entire Topic
junwu
Active Contributor
0 Kudos

did you check the req.authInfo in debug mode?