oauth/token - hashing the password

I'm trying to change the behavior of the oauth/token call from the passport package in laravel. In my tests, I pass this:

POST /oauth/token HTTP/1.1
HOST: localhost:8080
content-type: application/x-www-form-urlencoded
cookie: laravel_session=eyJpdiI6Ikp...MDg4MzRjOTcifQ==
content-length: 41


and it works(I received the token with a 200 response). But I believe that the correct would be to HASH the password, once that the password is already HASHed in the Server side, we should not send it visible in the request. Am I missing something here or what should I do to be able to send the HASHed password?

Thanks, Joao

Sign in to participate in this thread!

We'd like to thank these amazing companies for supporting us