Skip to content

Commit

Permalink
OXDEV-7892 Improve readability
Browse files Browse the repository at this point in the history
  • Loading branch information
angel-dimitrov committed Aug 29, 2024
1 parent d1a3f5f commit a995209
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions authorization.rst
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,8 @@ Logging in as a user should be done through the following query.

.. code-block:: graphql
query ($username: String!, $password: String!) { login (username: $username, password: $password)
query {
login (username: "your-username", password: "your-password")
{
accessToken
refreshToken
Expand Down Expand Up @@ -114,7 +115,8 @@ After the access token's lifetime elapses it will need to be refreshed. The
This request must have the `HttpOnly` fingerprint cookie set during login.
If both the token and the fingerprint-fingerprintHash pair are correct the
client will receive a new `accessToken` in the response payload, containing a
new `fingerprintHash` claim to go with a newly set `fingerprint` cookie.
new `fingerprintHash` claim to go with a newly set `fingerprint` cookie. As
always, for testing, you can manually decode the access token at `jwt.io <https://jwt.io>`_.

**Response:**

Expand Down

0 comments on commit a995209

Please sign in to comment.