Chapter 4: Authenticating Users with OpenID Connect
In this chapter, you will get a deeper understanding of how Keycloak enables you to authenticate users in your applications by leveraging the OpenID Connect standard. Through using a sample application that was written for this book, we will see the first-hand interaction between an application and Keycloak, including the contents of requests and responses.
By the end of this chapter, you will have a good understanding of OpenID Connect, including how to authenticate users, understanding the ID token, and how to deal with users logging out.
In this chapter, we're going to cover the following main topics:
- Running the OpenID Connect playground
- Understanding the Discovery endpoint
- Authenticating a user
- Understanding the ID token
- Invoking the UserInfo endpoint
- Dealing with users logging out