How to use OAuth 2.0 to secure your Vue.js application and Quarkus REST API with Keycloak
How to use OAuth 2.0 to secure your Vue.js application and Quarkus REST API with Keycloak Introduction In this post I’ll show you how to use OAuth 2.0/OpenID Connect to secure a Vue.js application interacting with a REST API. You can find all the (commented) code on GitHub . If you are developing a Vue.js app and you’re not sure how to implement OAuth this is for you! What you will not find is a deep dive into how OAuth works. If you are new to this topic I recommend you to start working through the links at the end of this post. Background In my first blog post I wrote my own authentication implementation using JSON Web Token (JWT). When it comes to security it is best left to the experts. I’m not one of them… But I want to sleep at night without worrying that I made a mistake and all the data stored in my application was stolen or corrupted. Therefore I decided to find a more sophisticated solution. At the start of my journey I only knew the following things: ...