cancel
Showing results for 
Search instead for 
Did you mean: 
SAP Community Log-in Update
In a few months, SAP Community will switch to SAP Universal ID as the only option to login. Don’t wait, create your SAP Universal ID now! If you have multiple S- or P- accounts, use the Consolidation Tool to merge your content. Get started with SAP Universal ID now!

How to return/read BTP user logged?

jessicademarchi
Employee
Employee

Hi, Builders

I'm developing a web application using SAP Build Apps, I'm also using BTP authentication and BTP destination.
My question is: how can I return/read the user logged (email, ID... anything) using this authentication method?
I'm trying to save this information using the output 1 of the logic "Authenticates with SAP BTP", but it's empity. There is another way to do that?

Thank you,
Jessica

2 REPLIES 2

jessicademarchi
Employee
Employee

Builders, here is the solution: https://blogs.sap.com/2022/10/24/getting-btp-user-information-in-appgyver/

You can only get user data to deployed app, not in preview app, but it works!

patty_1982
Galactic 2
Galactic 2

Hi Jessica,

yes, the information regarding the logged user are available only on deployed app.