Skip to content

Commit d7bcfb4

Browse files
authored
Update secure-rest-api.md
Moving the public preview to the header
1 parent 7c8adfb commit d7bcfb4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

articles/active-directory-b2c/secure-rest-api.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,6 +182,8 @@ The following is an example of a RESTful technical profile configured with an HT
182182

183183
## OAuth2 bearer authentication
184184

185+
[!INCLUDE [b2c-public-preview-feature](../../includes/active-directory-b2c-public-preview.md)]
186+
185187
Bearer token authentication is defined in [OAuth2.0 Authorization Framework: Bearer Token Usage (RFC 6750)](https://www.rfc-editor.org/rfc/rfc6750.txt). In bearer token authentication, Azure AD B2C sends an HTTP request with a token in the authorization header.
186188

187189
```http
@@ -193,7 +195,6 @@ A bearer token is an opaque string. It can be a JWT access token or any string t
193195
- **Bearer token**. To be able to send the bearer token in the Restful technical profile, your policy needs to first acquire the bearer token and then use it in the RESTful technical profile.
194196
- **Static bearer token**. Use this approach when your REST API issues a long-term access token. To use a static bearer token, create a policy key and make a reference from the RESTful technical profile to your policy key.
195197

196-
[!INCLUDE [b2c-public-preview-feature](../../includes/active-directory-b2c-public-preview.md)]
197198

198199
## Using OAuth2 Bearer
199200

0 commit comments

Comments
 (0)