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
Copy file name to clipboardExpand all lines: modules/ROOT/pages/authentication-and-authorization/configuration.adoc
+45Lines changed: 45 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -127,3 +127,48 @@ type JWT @jwt {
127
127
====
128
128
The seemingly excessive escaping is required to doubly escape: once for GraphQL and once for `dot-prop`, which is used under the hood to resolve the path.
129
129
====
130
+
131
+
== Passing in JWTs
132
+
133
+
To pass in an encoded JWT, you must use the token field of the context.
134
+
When using Apollo Server, extract the authorization header into the token property of the context as follows:
0 commit comments