Skip to content

Commit 9a1845d

Browse files
author
Muhammad Rehan Alam
committed
chore(recipe): updates md file
1 parent c2fa22a commit 9a1845d

2 files changed

Lines changed: 20 additions & 5 deletions

File tree

public/recipes/oauth/completion.md

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,35 +5,43 @@ You've successfully implemented a complete OAuth 2.0 Authorization Code Flow usi
55
## What You've Accomplished
66

77
### ✅ Step 1: Authorization Request Processed
8+
89
You validated an authorization request, generated a ticket, and prepared the authorization session.
910

1011
### ✅ Step 2: Authorization Code Issued
12+
1113
You simulated user consent and issued an authorization code to the client application.
1214

1315
### ✅ Step 3: Access Token Created
16+
1417
You exchanged the authorization code for access and refresh tokens using the token endpoint.
1518

1619
### ✅ Step 4: Token Validated
20+
1721
You introspected the access token to verify its validity, permissions, and metadata.
1822

1923
## Key Concepts Learned
2024

2125
### OAuth 2.0 Authorization Code Flow
26+
2227
- The most secure OAuth flow for web and mobile applications
2328
- Separates authorization from token issuance
2429
- Uses short-lived authorization codes as intermediate credentials
2530

2631
### PKCE (Proof Key for Code Exchange)
32+
2733
- Adds an extra layer of security with code challenges
2834
- Prevents authorization code interception attacks
2935
- Required for public clients and recommended for all
3036

3137
### Token Types
38+
3239
- **Access Tokens**: Used to access protected resources
3340
- **Refresh Tokens**: Used to obtain new access tokens
3441
- **Bearer Tokens**: Anyone with the token can use it
3542

3643
### Security Best Practices
44+
3745
- Tokens should be kept secure and never exposed
3846
- Authorization codes are single-use only
3947
- PKCE should always be used for enhanced security
@@ -44,37 +52,44 @@ You introspected the access token to verify its validity, permissions, and metad
4452
Now that you understand the OAuth flow, here's what you can do next:
4553

4654
### 🔧 Explore Service Settings
55+
4756
- Configure token lifetimes and expiration policies
4857
- Set up custom scopes for fine-grained permissions
4958
- Enable additional OAuth features like OIDC
5059

5160
### 📚 Learn More OAuth Flows
61+
5262
- **Client Credentials Flow**: For machine-to-machine authentication
5363
- **Refresh Token Flow**: For obtaining new access tokens
5464
- **Device Authorization Flow**: For devices with limited input
5565

5666
### 🎨 Customize Your Implementation
67+
5768
- Add custom claims to tokens
5869
- Implement dynamic client registration
5970
- Set up token revocation endpoints
6071

6172
### 🛡️ Enhanced Security
73+
6274
- Configure mTLS for certificate-bound tokens
6375
- Enable JWT access tokens
6476
- Set up token binding
6577

6678
## Resources
6779

6880
### Documentation
81+
6982
- [Authlete Documentation](https://docs.authlete.com)
7083
- [OAuth 2.0 RFC 6749](https://tools.ietf.org/html/rfc6749)
7184
- [PKCE RFC 7636](https://tools.ietf.org/html/rfc7636)
7285

7386
### TypeScript SDK
87+
7488
- [Authlete TypeScript SDK](https://github.com/authlete/authlete-typescript-sdk)
7589
- [SDK Documentation](https://authlete.github.io/authlete-typescript-sdk/)
7690

7791
### Support
92+
7893
- [Authlete Support Portal](https://support.authlete.com)
7994
- [Community Forum](https://community.authlete.com)
8095

@@ -83,7 +98,3 @@ Now that you understand the OAuth flow, here's what you can do next:
8398
You've taken an important step in understanding modern authentication and authorization. The skills you've learned here will help you build secure, standards-compliant applications.
8499

85100
Ready to explore more? Head back to the dashboard to discover additional features and recipes!
86-
87-
---
88-
89-
**Happy Coding! 🚀**

public/recipes/oauth/getting-started.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,15 +26,19 @@ Before you begin, ensure you have:
2626
This recipe consists of **4 interactive steps**:
2727

2828
### Step 1: Process Authorization Request
29+
2930
Validate and process an authorization request from a client application. The SDK will check parameters, generate a ticket, and return client/scope information.
3031

3132
### Step 2: Issue Authorization Response
33+
3234
Simulate user consent and issue an authorization code. This represents the user granting permission to the client application.
3335

3436
### Step 3: Exchange Code for Access Token
37+
3538
Trade the authorization code for access and refresh tokens. This is the core token exchange in OAuth 2.0.
3639

3740
### Step 4: Introspect Access Token
41+
3842
Validate the access token and retrieve its metadata. Resource servers use this to verify tokens before granting access.
3943

4044
## How It Works
@@ -55,6 +59,6 @@ Each step builds on the previous one:
5559

5660
## Ready to Start?
5761

58-
Click "Next" to begin with the first step: **Process Authorization Request**
62+
Click "Start" to begin with the first step: **Process Authorization Request**
5963

6064
The journey to understanding OAuth 2.0 starts here! 🚀

0 commit comments

Comments
 (0)