Skip to content
This repository was archived by the owner on May 31, 2022. It is now read-only.

Fix documenation for matching autoconfiguration prefix; #200 #201

Merged
merged 1 commit into from
Jan 27, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
61 changes: 28 additions & 33 deletions docs/src/docs/asciidoc/index.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -679,12 +679,11 @@ To indicate JWT, simply specify the JWK Set Uri hosted on your Authorization Ser
====
[source,yaml]
----
spring:
security:
oauth2:
resource:
jwk:
key-set-uri: https://idp.example.com/.well-known/jwks.json
security:
oauth2:
resource:
jwk:
key-set-uri: https://idp.example.com/.well-known/jwks.json
----
====

Expand All @@ -699,11 +698,10 @@ To indicate opaque, simply specify the Authorization Server endpoint that knows
====
[source,yaml]
----
spring:
security:
oauth2:
resource:
token-info-uri: https://idp.example.com/oauth2/introspect
security:
oauth2:
resource:
token-info-uri: https://idp.example.com/oauth2/introspect
----
====

Expand Down Expand Up @@ -756,15 +754,14 @@ Configuring the resource server with the appropriate symmetric key or PKCS#8 PEM
====
[source,yaml]
----
spring:
security:
oauth2:
resource:
jwt:
key-value: |
-----BEGIN PUBLIC KEY-----
MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKC...
-----END PUBLIC KEY-----
security:
oauth2:
resource:
jwt:
key-value: |
-----BEGIN PUBLIC KEY-----
MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKC...
-----END PUBLIC KEY-----
----
====

Expand All @@ -784,14 +781,13 @@ Instead, you'll need to specify credentials that represent this client, like so:
====
[source,yaml]
----
spring:
security:
oauth2:
client:
clientId: client-id
clientSecret: client-secret
resource:
tokenInfoUri: https://idp.example.com/oauth2/check_token
security:
oauth2:
client:
clientId: client-id
clientSecret: client-secret
resource:
tokenInfoUri: https://idp.example.com/oauth2/check_token
----
====

Expand All @@ -809,11 +805,10 @@ If you specify a user info endpoint like so:
====
[source,yaml]
----
spring:
security:
oauth2:
resource:
userInfoUri: https://idp.example.com/oauth2/userinfo
security:
oauth2:
resource:
userInfoUri: https://idp.example.com/oauth2/userinfo
----
====

Expand Down