SlaSerX / stalker

:man_technologist: Stalker MW Portal auto install script
https://slaserx.dev
73 stars 106 forks source link

/auth/token api authorization issue #38

Closed cclaflin89 closed 4 years ago

cclaflin89 commented 4 years ago

This question may out of scope, but just wanted to check if some configuration is missing.

After Ministra 5.5 set up, the stalker_portal dashboard worked fine. But after adding a user, I couldn't authorize via rest API.

POST: /stalker_portal/auth/token Header content-type: application/x-www-form-urlencoded grant_type=password&username=myusername&password=mypass

It returns invalid_grant and below are details: { "error": "invalid_grant", "error_description": "Username or password is incorrect" }

Any help would be appreciated. Thanks in advance.

ghost commented 4 years ago

I don't think its a configuration issue so just try to contact Infomir eu at: https://www.infomir.eu/eng/support/form/support.php

They'll help for sure.