Implementing OAuth 2.0 in a Java Command-Line App Using Micronaut, Picocli, and GraalVM
Offered By: Szymon Stepniak via YouTube
Course Description
Overview
Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Learn how to implement OAuth 2.0 authentication flow in a Java command-line application using Micronaut, Picocli, and GraalVM. Follow a step-by-step guide to integrate Stack Overflow REST API authentication and authorize outgoing HTTP requests. Discover the challenges of building OAuth 2.0 flow for CLI applications and how to overcome them. Explore topics such as registering a client app, handling redirect URIs, retrieving and storing access tokens, and compiling an executable binary with GraalVM native-image. Gain practical insights to add OAuth 2.0 authentication to any CLI tool or application you develop.
Syllabus
| Intro
| Understanding Stack Overflow OAuth 2.0 flow
| Registering client app in the StackApps.com
| Preparing the "auth" command
| Handling redirect_uri in the command-line app
| Retrieving an access_token
| Storing the access_token in a file
| Using the access_token to authorize HTTP requests
| Compiling executable binary with GraalVM native-image
| Conclusion
Taught by
Szymon Stepniak
Related Courses
Java Microservices with GraalVMLinkedIn Learning Micronaut Fundamentals
Pluralsight Learn Micronaut - cloud native microservices with Java
Udemy Incredible Things You Can Do with Micronaut & GraalVM
Devoxx via YouTube A Java Developer Journey into Apache Cassandra
Devoxx via YouTube