Update opaque-token.adoc
Fixing yaml sample in Servlet and Reactive pages
This commit is contained in:
parent
b1004aff4e
commit
24701b547f
|
@ -23,13 +23,14 @@ To specify where the introspection endpoint is, simply do:
|
||||||
|
|
||||||
[source,yaml]
|
[source,yaml]
|
||||||
----
|
----
|
||||||
security:
|
spring:
|
||||||
oauth2:
|
security:
|
||||||
resourceserver:
|
oauth2:
|
||||||
opaque-token:
|
resourceserver:
|
||||||
introspection-uri: https://idp.example.com/introspect
|
opaque-token:
|
||||||
client-id: client
|
introspection-uri: https://idp.example.com/introspect
|
||||||
client-secret: secret
|
client-id: client
|
||||||
|
client-secret: secret
|
||||||
----
|
----
|
||||||
|
|
||||||
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.
|
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.
|
||||||
|
|
|
@ -24,13 +24,14 @@ To specify where the introspection endpoint is, simply do:
|
||||||
|
|
||||||
[source,yaml]
|
[source,yaml]
|
||||||
----
|
----
|
||||||
security:
|
spring:
|
||||||
oauth2:
|
security:
|
||||||
resourceserver:
|
oauth2:
|
||||||
opaque-token:
|
resourceserver:
|
||||||
introspection-uri: https://idp.example.com/introspect
|
opaque-token:
|
||||||
client-id: client
|
introspection-uri: https://idp.example.com/introspect
|
||||||
client-secret: secret
|
client-id: client
|
||||||
|
client-secret: secret
|
||||||
----
|
----
|
||||||
|
|
||||||
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.
|
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.
|
||||||
|
|
Loading…
Reference in New Issue