cancel
Showing results for 
Search instead for 
Did you mean: 

How to enable client credential token in approuter

qjkobe
Advisor
Advisor
654

Hi,

My scenario is that an event server will send an event to my btp service. This is a server-to-server comunnication. We don't have any user to propagate, we only know the client id and secret of xsuaa.

If I configure authenticationMethod in approuter, it will redirect to login page. How can we use token created by client credentials to call my btp service without login?

Thank you,

Kris

View Entire Topic
CarlosRoggan
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hello, thanks for sharing your finding.

Wanted to ask you, why do you need approuter at all, why not call your protected endpoint directly?
As far as i understand, the basic sense of having approuter in the picture is to handle the user login which you don't need, right?

qjkobe
Advisor
Advisor
0 Kudos

Yes, I do not need login at all. But I'd like to configure mtls. In App router documents, it said as below. But I failed and didn't find an example for this. I create another questions for this: https://answers.sap.com/questions/13667786/how-to-use-mtls-with-approuter.html