Skip to content
This repository was archived by the owner on Nov 19, 2024. It is now read-only.

Commit aeb41e1

Browse files
Barny ShergoldBarny Shergold
authored andcommitted
Added information about Bearer token at request of atwizfirster
1 parent c9fd86d commit aeb41e1

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

src/guides/v2.3/graphql/authorization-tokens.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,12 @@ mutation {
3737
}
3838
```
3939

40+
You can now use this token in the Authorization request header field for any queries and mutations.
41+
42+
![GraphiQL Authorization Bearer]({{site.baseurl}}/common/images/graphql/graphql-authorization.png)
43+
44+
If necessary, you also can [revoke the customer's token]({{ page.baseurl }}/graphql/mutations/revoke-customer-token.html
45+
4046
## Admin tokens
4147

4248
In Magento GraphQL, you specify an admin token only if you need to query products, categories, price rules, or other entities that are scheduled to be in a campaign (staged content). Staging is supported in {{site.data.var.ee}} only. See [Staging queries]({{page.baseurl}}/graphql/queries/index.html#staging) for more information.

src/guides/v2.4/graphql/authorization-tokens.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,12 @@ mutation {
3737
}
3838
```
3939

40+
You can now use this token in the Authorization request header field for any queries and mutations.
41+
42+
![GraphiQL Authorization Bearer]({{site.baseurl}}/common/images/graphql/graphql-authorization.png)
43+
44+
If necessary, you also can [revoke the customer's token]({{ page.baseurl }}/graphql/mutations/revoke-customer-token.html
45+
4046
## Admin tokens
4147

4248
In Magento GraphQL, you specify an admin token only if you need to query products, categories, price rules, or other entities that are scheduled to be in a campaign (staged content). Staging is supported in {{site.data.var.ee}} only. See [Staging queries]({{page.baseurl}}/graphql/queries/index.html#staging) for more information.

0 commit comments

Comments
 (0)