Commit 59a1469
committed
CI-6000: Expose Refresh Token in Authenticated REST API requests
---
This exposes `X-JWT-Refresh` in the repsonse headers of REST API requests that were authenticated with a WPGraphQL issued JWT Auth Token.
You can see this in action in the below GIF where I:
- Login via GraphQL to get an authToken
- Use the authToken as my Authorizaton token in a WP REST API request
- See a `X-JWT-Refresh` token in the REST API response headers
1 parent a220921 commit 59a1469
1 file changed
+0
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
364 | 364 | | |
365 | 365 | | |
366 | 366 | | |
367 | | - | |
368 | | - | |
369 | | - | |
370 | | - | |
371 | 367 | | |
372 | 368 | | |
373 | 369 | | |
| |||
0 commit comments