Showing results for 
Search instead for 
Did you mean: 

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

0 Kudos

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
Active Contributor
0 Kudos

did you check the req.authInfo in debug mode?