cancel
Showing results for 
Search instead for 
Did you mean: 

how to configure approuter, currently return 401(Unauthorized)

0 Kudos

Hi experts,

Currently I am building a service to to extend DMC functionality. It will need call an DMC service(test from postman succeeded).

What I am doing is:

1. define the approuter in xs-app.json

2. xs-security.json settings

3. mta.yaml settings

4. code in my service:

configuration url is my app endpoint plus the pattern and service url.

5. when Test my code here, it will return 401 with error:

I am expecting the Token will be fetched and adding to my request header(Authorization), but seems not. Anybody can help point out what missing in my app or anything wrong?

Accepted Solutions (0)

Answers (0)