Skip to content
This repository has been archived by the owner on Jan 19, 2024. It is now read-only.

How to perform API calls on auth endpoint? #106

Open
fib-at-isobar opened this issue Feb 2, 2021 · 1 comment
Open

How to perform API calls on auth endpoint? #106

fib-at-isobar opened this issue Feb 2, 2021 · 1 comment

Comments

@fib-at-isobar
Copy link

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
Copy link
Author

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant