D
D
dev4002016-10-13 04:48:17
PHP
dev400, 2016-10-13 04:48:17

Does Bitrix24 redirect to the Bitrix24 login page when oauth authorization via api?

this is how i do authentication

$params = array(
                    "client_id" => B24Config::CLIENT_ID,
                    "response_type" => "code",
                    "redirect_uri" => B24Config::REDIRECT_URI,
                );

                redirect("http://myaddress.bitrix24.ru/oauth/authorize/?".http_build_query($params));

And if I am not logged in to Bitrix24, then I am asked to log in. Does this mean that their api only works if someone is logged in? Or am I doing something wrong

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question