API v2 Redirects me to the registration page

API v2 Redirects me to the registration page

hi , 
i'm trying to use your api v2 to insert leads at zoho crm using your api requests 
My first step to authorize my app i'm trying to call the following url as mentioned in your documentation:


It works when I'm registered but if I'm not registered, it redirects me to the registration page:


It is possible that the redirect url is not correct:

https://mydomain.com/index.php?option=com_jbevents&task=order.zohocrm

Thanks you...