Getting error while authentication

I am unable to get authorized due to below error. I am clueless whats wrong. Please help

Hello,

Please try to open the URL in browser.

1 Like

@Sanjay_Jain

<>

Hello @RAVI_5894658,

The parameter redirect_url should be encoded. For example, redirect_url should not be https://test.com/ok but it should URL encoded: https%3A%2F%2Ftest.com%2Fok.

Code for encoding the redirect_url parameter:

redirect_url = quote('https://test.com/ok', safe=':/?=&')

Hope it helps.
Thanks & Regards,
Sanjay Jain

1 Like

Thanks, @Sanjay_Jain, for your assistance here.

@RAVI_5894658 , as the error message suggests, please check for any typos or extra spaces in the client ID or redirect URI. This error typically occurs when either of these does not match the API appā€™s client ID or redirect URL.

1 Like