Skip to content

Commit b9acdd5

Browse files
andrelugomesmarcusdacoregio
authored andcommitted
Update opaque-token.adoc
Fixing yaml sample in Servlet and Reactive pages
1 parent b78a28b commit b9acdd5

File tree

2 files changed

+16
-14
lines changed

2 files changed

+16
-14
lines changed

docs/modules/ROOT/pages/reactive/oauth2/resource-server/opaque-token.adoc

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -26,13 +26,14 @@ You can specify where the introspection endpoint is:
2626
====
2727
[source,yaml]
2828
----
29-
security:
30-
oauth2:
31-
resourceserver:
32-
opaque-token:
33-
introspection-uri: https://idp.example.com/introspect
34-
client-id: client
35-
client-secret: secret
29+
spring:
30+
security:
31+
oauth2:
32+
resourceserver:
33+
opaque-token:
34+
introspection-uri: https://idp.example.com/introspect
35+
client-id: client
36+
client-secret: secret
3637
----
3738
====
3839

docs/modules/ROOT/pages/servlet/oauth2/resource-server/opaque-token.adoc

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,14 @@ To specify where the introspection endpoint is, simply do:
2424

2525
[source,yaml]
2626
----
27-
security:
28-
oauth2:
29-
resourceserver:
30-
opaque-token:
31-
introspection-uri: https://idp.example.com/introspect
32-
client-id: client
33-
client-secret: secret
27+
spring:
28+
security:
29+
oauth2:
30+
resourceserver:
31+
opaque-token:
32+
introspection-uri: https://idp.example.com/introspect
33+
client-id: client
34+
client-secret: secret
3435
----
3536

3637
Where `https://idp.example.com/introspect` is the introspection endpoint hosted by your authorization server and `client-id` and `client-secret` are the credentials needed to hit that endpoint.

0 commit comments

Comments
 (0)