You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 9420b5d
Browse filesBrowse the repository at this point in the historyBrowse files
Issuer Validation: Verify the <code>iss</code> claim matches the expected authorization server identifier.
333
401
</li>
334
402
<li>
335
-
Audience Validation: Verify the <code>aud</code> claim contains exactly one value and this value is a URI identifying the storage server which logically contains the target resource.
403
+
Audience Validation: Verify the <code>aud</code> claim includes the URI of the <a>storage</a> that contains
404
+
the target resource.
336
405
</li>
337
406
<li>
338
407
Temporal Validation, subject to an allowable clock skew between systems.
@@ -352,7 +421,8 @@ <h5>Validation</h5>
352
421
353
422
<p>
354
423
If validation fails, the storage server MUST return 401 Unauthorized with a <code>WWW-Authenticate</code> header
355
-
containing an appropriate error parameter (e.g., invalid_token, invalid_request, or insufficient_scope).
424
+
containing the <code>resource_metadata</code> parameter and an appropriate error parameter (e.g.,
425
+
<code>invalid_token</code>, <code>invalid_request</code>, or <code>insufficient_scope</code>).
Copy file name to clipboardExpand all lines: lws10-core/Operations/read-resource.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -89,4 +89,4 @@ The LWS server MUST support HEAD [[RFC9110]] for both <a>containers</a> and non-
89
89
**Caching and Conditional Requests:** LWS leverages HTTP caching semantics. Servers SHOULD support conditional requests as defined in [[RFC9110]], including mechanisms such as entity tags (`ETags`) and date-based validators (like `If-Modified-Since` headers). If the resource or <a>container</a> listing has not changed, respond with `304 Not Modified` to avoid redundant transfers.
90
90
91
91
92
-
**Discoverability and Authorization:** For enhanced discoverability, servers SHOULD include `WWW-Authenticate`headers on `401 Unauthorized` responses with parameters to guide clients without hardcoded URIs. Metadata links SHOULD be included where applicable.
92
+
**Discoverability and Authorization:** For enhanced discoverability, `401 Unauthorized` responses include a `WWW-Authenticate`header with a `resource_metadata` parameter, as described in [Authorization Server Discovery](#authorization-server-discovery), so that clients can locate an authorization server without hardcoded URIs.
Copy file name to clipboardExpand all lines: lws10-core/Security-Considerations.html
+55-1Lines changed: 55 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -23,14 +23,68 @@ <h4>Token Security</h4>
23
23
Short Lifetimes: Authorization servers that assign lifetimes of 300 seconds (5 minutes) or less to access tokens can limit the potential exposure of an exfiltrated credential.
24
24
</li>
25
25
<li>
26
-
Audience Binding: Access tokens that are bound to a specific destination server, by means such as the <code>aud</code> claim, can rely on that binding to protect against token replay. Applications that handle credentials with an unrestricted audience need to be careful when sending these credentials to other entities, especially untrusted authorization servers. If a credential issuer is unable to restrict the audience of a token, clients can use a mechanism such as OAuth 2.0 Token Exchange [[RFC8693]] to create audience-constrained credentials before interacting with an authorization server in a different security domain.
26
+
Audience Binding: Binding an access token to a specific destination server, by means such as the <code>aud</code>
27
+
claim, protects against the token being replayed to a different server. An access token whose audience includes
28
+
more than one server can be replayed by any of those servers to the others, which authorization servers avoid by
29
+
issuing tokens with a single storage URI as the audience. Applications that handle credentials with an
30
+
unrestricted audience need to be careful when sending these credentials to other entities, especially untrusted
31
+
authorization servers. If a credential issuer is unable to restrict the audience of a token, clients can use a
32
+
mechanism such as OAuth 2.0 Token Exchange [[RFC8693]] to create audience-constrained credentials before
33
+
interacting with an authorization server in a different security domain.
34
+
</li>
35
+
<li>
36
+
Sender-Constrained Tokens: A bearer token can be used by any party that obtains it, and an audience restriction
37
+
does not prevent an exfiltrated token from being replayed to the intended storage server. Because the audience is
38
+
a storage, a stolen token is usable for every resource within that storage that the agent is authorized to access.
39
+
Binding an access token to a client key, such as with OAuth 2.0 Demonstrating Proof of Possession (DPoP)
40
+
[[RFC9449]], limits use of a stolen token to the holder of that key. A protected resource metadata document can
41
+
advertise the DPoP proof algorithms that a storage server supports and whether it requires DPoP-bound access
42
+
tokens, using the <code>dpop_signing_alg_values_supported</code> and
43
+
<code>dpop_bound_access_tokens_required</code> parameters defined in [[RFC9728]].
27
44
</li>
28
45
<li>
29
46
Secure Storage: Applications that persist credentials need to ensure that these objects are stored safely. Any time an unencrypted token is stored in a browser's <code>localStorage</code>, in URLs, or in logs, that token is more susceptible to an exfiltration attack.
0 commit comments