Forum Discussion

Hannah_B's avatar
Hannah_B
Contributor
2 months ago

API Auth in Postman

Hi, 

Im a bit of a newbie here and would love some help. I am trying to complete Auth in Postman and returning 400 bad request/Invalid request or page not found when trying to obtain the code. 

Error: getaddrinfo ENOTFOUND {{base_community_url}}

The URL is just the Community domain which is the same an the redirect URI.

 {{URL}}/api/2.0/auth/authorize?li_client_id={{Encoded client ID}}&redirect_uri={{Redirect URI not encoded}}&response_type=code

or

{{URL}}/api/2.0/auth/authorize?li_client_id={{Encoded client ID}}&redirect_uri={{Redirect URI not encoded}}&response_type=code&jwt={{SSO Toekn}}

Thanks

Hannah

No RepliesBe the first to reply