Skip to content

JWT Authentication

Compare
Choose a tag to compare
@waqasraza123 waqasraza123 released this 20 Nov 21:40
· 10 commits to master since this release

This release implements jwt authentication on all routes. So, an incoming request to the server must pass
Bearer Token

Example:

await axios.create({
  baseURL: 'https://example.com/api/',
  timeout: 1000,
  ....,
  headers: {'Authorization': 'Bearer '+token}
});