© Daniel Andres Pelaez Lopez 2021
D. A. P. LopezFull-Stack Web Development with Jakarta EE and Vue.jshttps://doi.org/10.1007/978-1-4842-6342-6_10

10. Authentication and Authorization

Daniel Andres Pelaez Lopez1  
(1)
Medellin, Colombia
 

In this chapter, we are going to focus on implementing the Authentication and Authorization flow using the OpenID Connect protocol for our new Daniel’s Delivery website. We are going to use Keycloak as the Identity Provider and the Authorization Flow Code.

The following topics will be covered in this chapter:
  • Using Keycloak as a new Users datastore

  • Applying authorization via JWT in the JAX-RS layer

  • Handling authentication in the Vue.js layer with Vuex

Technical Requirements

To follow the instructions in this chapter, you ...

Get Full-Stack Web Development with Jakarta EE and Vue.js: Your One-Stop Guide to Building Modern Full-Stack Applications with Jakarta EE and Vue.js now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.