Skip to content

Commit 82f551c

Browse files
authored
[codex] Remove invalid OIDC scopes from example integration (#126)
* fix example integration OAuth scopes * fix OIDC email claim wording
1 parent 59ec83b commit 82f551c

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

‎docs/tutorials/oidc/example-integration.mdx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ BASE_PATH=http://localhost:3000
3131
TOKEN_HOST=https://oauth2.quran.foundation
3232
CLIENT_ID=your_client_id
3333
CLIENT_SECRET=your_client_secret
34-
SCOPES=openid offline_access profile email bookmark collection user
34+
SCOPES=openid offline_access bookmark collection user
3535
SESSION_SECRET=your_random_session_secret
3636
NODE_ENV=development
3737
```

‎docs/tutorials/oidc/getting-started-with-oauth2.mdx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ cursor.execute("""
200200
| ID Token Claim | Description | Use For |
201201
| -------------- | --------------------------------------- | -------------------------------------- |
202202
| `sub` | Unique user ID (stable, never changes) | **Primary key** for linking to your DB |
203-
| `email` | User's email (if `email` scope granted) | Display, notifications |
203+
| `email` | User's email (when available) | Display, notifications |
204204
| `first_name` | User's first name | Personalization |
205205
| `last_name` | User's last name | Personalization, display |
206206

0 commit comments

Comments
 (0)