Skip to content
This repository has been archived by the owner on Dec 13, 2020. It is now read-only.

Provide login credentials in request body #323

Closed
teosarca opened this issue Feb 16, 2017 · 2 comments
Closed

Provide login credentials in request body #323

teosarca opened this issue Feb 16, 2017 · 2 comments

Comments

@teosarca
Copy link
Member

See http://w101.metasfresh.com:8081/swagger-ui.html#!/login-rest-controller

Instead of providing them as parameters, POST then in request body as follows:

{
  username:"someuser",
  password:"pass"
}

Backend task: metasfresh/metasfresh-webui-api-legacy#133

@teosarca teosarca added this to the 2017-08 milestone Feb 16, 2017
teosarca added a commit to metasfresh/metasfresh-webui-api-legacy that referenced this issue Feb 16, 2017
NOTE: with this change, we support both ways now, until the frontend
code is changed too.

Frontend task:
metasfresh/metasfresh-webui-frontend-legacy#323
@teosarca
Copy link
Member Author

New API available: http://w101.metasfresh.com:8081/swagger-ui.html#!/login-rest-controller/authenticateUsingPOST

don't use the parameters but only the request body.

@teosarca teosarca changed the title Provide login credentials in in request body Provide login credentials in request body Feb 16, 2017
@bambeusz bambeusz self-assigned this Feb 16, 2017
damianprzygodzki added a commit that referenced this issue Feb 16, 2017
fix #323 - login data sent in request body
@metas-lc
Copy link

IT. OK

@metas-lc metas-lc self-assigned this Feb 17, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants