Skip to content

Commit aca3fc2

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

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
@@ -23,13 +23,14 @@ To specify where the introspection endpoint is, simply do:
2323

2424
[source,yaml]
2525
----
26-
security:
27-
oauth2:
28-
resourceserver:
29-
opaque-token:
30-
introspection-uri: https://idp.example.com/introspect
31-
client-id: client
32-
client-secret: secret
26+
spring:
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
3334
----
3435

3536
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.

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)