In this course, you will learn how to work with various API authentication methods using Scala. You'll explore the basics of API Key authentication, manage sessions using cookies, and interact with APIs using JSON Web Tokens (JWTs). By the end of this course, you'll be able to access and interact with protected APIs securely.
Overview
Syllabus
- Unit 1: Accessing Protected Routes with API Keys
- Observing Unauthorized API Requests
- Securing Requests with API Keys
- Fix the API Key Header
- Secure API Key Access
- Secure Your API Request with POST
- Unit 2: Delving into Session-Based Authentication
- Registering Your First User using Sessions
- Logging In with Sessions
- Correcting API Session Errors
- Terminating Session Between Requests
- Master Session-Based Authentication
- Unit 3: Introduction to JWTs: Authenticate and Access Protected Endpoints
- Print the Login Response Content
- Extracting JWT Tokens in Scala
- Fixing JWT Header for Authentication
- Complete the JWT Authentication
- Mastering JWT Authentication
- Unit 4: Refreshing JWTs and Signing Out
- Refresh and Secure Your Tokens
- Fix JWT Logout Process
- Implement Secure Logout with JWT