indieweb / indieweb/indieauth

Include Cache-Control and Pragma headers in token exchange response example

Open
#117 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
HTML
Stars
57
Forks
7
PR merge metrics
No merged PRs in 30d

Description

According to https://www.rfc-editor.org/rfc/rfc6749#section-5.1, token exchange responses MUST contain the following headers

```
Cache-Control: no-store
Pragma: no-cache
```

Consider adding these to https://indieauth.spec.indieweb.org/#example-12 to make it more likely that people implementing IndieAuth servers based purely on the IndieAuth spec include them

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with IndieAuth specification Example 12 and compare its token exchange response with RFC 6749 section 5.1. Done means the example includes Cache-Control: no-store and Pragma: no-cache headers.

Written by the indexing model from the issue text.

Assessment

Tech stack
html
Domain
documentation
Issue type
Documentation
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.