DrAAA-X Hello! Help me please. I have a forum on a subdomain (forum.site.ru), and I can not get a token from the main site (https://gist.githubusercontent.com/woganmay/88f15e96fc019657a0e594366403b5cf/raw/63316597334c491eb40f2819993e96e5f876b304/auth.php) var_dump($session->token); NULL var_dump($ch); FALSE Tried through postman, the answer: { "errors": [ { "status": "401", "code": "permission_denied" } ] } What to do?
clarkwinkelmann DrAAA-X are you sure the username/email and password are correct ? This is the most likely reason to get "Permission denied" as a response I think.
DrAAA-X clarkwinkelmann I made a mistake, a token comes in postman ... the data was not entered there But with the script does not work, all right pointed out