FuelSDK-Node-REST icon indicating copy to clipboard operation
FuelSDK-Node-REST copied to clipboard

How to perform API calls on auth endpoint?

Open fib-at-isobar opened this issue 3 years ago • 1 comments

Hello, can you please provide an example how to call APIs accessible from auth server? E.g.: https://{{MC_ENV}}.auth.marketingcloudapis.com/v2/userinfo? Regards, Filip

fib-at-isobar avatar Feb 02 '21 18:02 fib-at-isobar

I tried multiple way including: { uri: '/v2/userinfo', baseUrl: 'https://XXX.auth.marketingcloudapis.com' } But I got following error: Error on /authenticated Error: options.uri must be a path when using options.baseUrl

fib-at-isobar avatar Feb 02 '21 18:02 fib-at-isobar