summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/webid-oidc.texi15
1 files changed, 15 insertions, 0 deletions
diff --git a/doc/webid-oidc.texi b/doc/webid-oidc.texi
index d63fc09..0a368e4 100644
--- a/doc/webid-oidc.texi
+++ b/doc/webid-oidc.texi
@@ -123,6 +123,7 @@ Return a string explaining the @var{error}. You can limit the
@menu
* Invalid data format::
+* Invalid JWT::
@end menu
@node Invalid data format
@@ -136,6 +137,20 @@ failed. @var{value} is the incorrect input, and @var{cause} is a
low-level error.
@end deftp
+@node Invalid JWT
+@section Invalid JWT
+Each JWT type – access token, DPoP proof, ID token, authorization code
+(this is internal to the identity provider) has different validation
+rules, and can fail in different ways.
+
+@deftp {exception type} &unsupported-crv @var{crv}
+The identifier @var{crv} does not identify an elliptic curve.
+@end deftp
+
+@deftp {exception type} &not-a-jwk @var{value} @var{cause}
+@var{value} does not identify a JWK.
+@end deftp
+
@node GNU Free Documentation License
@appendix GNU Free Documentation License