markdown JHipster JWT认证

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了markdown JHipster JWT认证相关的知识,希望对你有一定的参考价值。

- Make a **POST** request to `/api/authenticate`
- Add the following to the request's **BODY**
``` json
{
  "username":"{username}"
  "password":"{pass}"
}
```
- Copy the `id_token` and use as **JWT**
- To use it, paste the **JWT** in your request's **HEADER**
`Authorization: Bearer {JWT Token}`

以上是关于markdown JHipster JWT认证的主要内容,如果未能解决你的问题,请参考以下文章