title: Facebook login in JWT
body: <p>I have developed token based spring security using JWT referring this project in git <a href="https://github.com/szerhusenBC/jwt-spring-security-demo" rel="noreferrer">https://github.com/szerhusenBC/jwt-spring-security-demo</a>. Now I need to get facebook login in my application. For social login, I found another web page <a href="https://ole.michelsen.dk/blog/social-signin-spa-jwt-server.html" rel="noreferrer">https://ole.michelsen.dk/blog/social-signin-spa-jwt-server.html</a> which explains how the social login must be carried out. </p>
  
  <p>In the normal login, my JWT project creates a token based on username, password, expiry date and time of creation. Everytime the token comes, all values from above fields are retrieved and compared to authenticate the token and then served. I've two questions: </p>
  
  <ol>
  <li>In the social login, there will be no password created. A token will be received from the facebook(my frontend does this). I have to verify if the token is valid or not. How am I supposed to do it in JWT?</li>
  <li>After verifying as per the article I'm supposed to create my own token for future reference. Now, there is no password in facebook login. How do I create the token? </li>
  </ol>
  
  <p>Let me know if there are any good site available for social login using JWT in spring boot applictaion. </p>