This course explores API authentication methods using Kotlin. You'll learn to implement API Key authentication, manage sessions with cookies, and interact with JWT-secured APIs. By the end, you'll understand how to securely access and interact with protected API routes.
Overview
Syllabus
- Unit 1: Accessing Protected Routes with API Keys
- Exploring API Request Failures Without Authentication
- Inserting API Key into Request Headers
- Correcting API Key Authentication Mistake in Kotlin
- Load API Key from Environment File in Kotlin
- Secure API POST Request in Kotlin
- Unit 2: Delving into Session-Based Authentication
- Sign Up Using HTTP Requests in Kotlin
- Session-Based Authentication with OkHttp in Kotlin
- Session-Based Authentication Bug Fixing Task
- Improving Session Management with Logout Step
- Managing Sessions with API Authentication in Kotlin
- Unit 3: Introduction to JWTs: Authenticate and Access Protected Endpoints
- Handling API Logins with JWT Tokens in Kotlin
- Extract and Print JWT Tokens in Kotlin
- Fixing Authentication Bug in Kotlin API Client
- Handling JWT Authentication in Kotlin
- JWT Authentication and API Access in Kotlin
- Unit 4: Refreshing JWTs and Signing Out
- Refreshing JWT Tokens in Kotlin
- Fixing Logout Session Invalidation Issue
- Completing the Logout Process with JWTs in Kotlin