JWT security autoconfigure

Build Status

compile('com.github.cobrijani:jwt-security-spring-boot-starter:0.0.3')

To use it:

  1. Get dependency

  2. Implement project specific classes below:
    • org.springframework.security.core.userdetails.UserDetails
    • org.springframework.security.core.userdetails.UserDetailsService
  3. POST on ‘/api/v1/login’ with request body as below
  {
      "login": "user login in db or w/e",
      
      "password": "user password",
      
      "isRememberMe": "remember me"
  }
  
  1. If ‘UserDetails’ and ‘UserDetailsService’ are successfully implement according to your project you should get something like this ```json { “id_token”: “your jwt” }

```