@@ -679,12 +679,11 @@ To indicate JWT, simply specify the JWK Set Uri hosted on your Authorization Ser
679
679
====
680
680
[source,yaml]
681
681
----
682
- spring:
683
- security:
684
- oauth2:
685
- resource:
686
- jwk:
687
- key-set-uri: https://idp.example.com/.well-known/jwks.json
682
+ security:
683
+ oauth2:
684
+ resource:
685
+ jwk:
686
+ key-set-uri: https://idp.example.com/.well-known/jwks.json
688
687
----
689
688
====
690
689
@@ -699,11 +698,10 @@ To indicate opaque, simply specify the Authorization Server endpoint that knows
699
698
====
700
699
[source,yaml]
701
700
----
702
- spring:
703
- security:
704
- oauth2:
705
- resource:
706
- token-info-uri: https://idp.example.com/oauth2/introspect
701
+ security:
702
+ oauth2:
703
+ resource:
704
+ token-info-uri: https://idp.example.com/oauth2/introspect
707
705
----
708
706
====
709
707
@@ -756,15 +754,14 @@ Configuring the resource server with the appropriate symmetric key or PKCS#8 PEM
756
754
====
757
755
[source,yaml]
758
756
----
759
- spring:
760
- security:
761
- oauth2:
762
- resource:
763
- jwt:
764
- key-value: |
765
- -----BEGIN PUBLIC KEY-----
766
- MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKC...
767
- -----END PUBLIC KEY-----
757
+ security:
758
+ oauth2:
759
+ resource:
760
+ jwt:
761
+ key-value: |
762
+ -----BEGIN PUBLIC KEY-----
763
+ MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKC...
764
+ -----END PUBLIC KEY-----
768
765
----
769
766
====
770
767
@@ -784,14 +781,13 @@ Instead, you'll need to specify credentials that represent this client, like so:
784
781
====
785
782
[source,yaml]
786
783
----
787
- spring:
788
- security:
789
- oauth2:
790
- client:
791
- clientId: client-id
792
- clientSecret: client-secret
793
- resource:
794
- tokenInfoUri: https://idp.example.com/oauth2/check_token
784
+ security:
785
+ oauth2:
786
+ client:
787
+ clientId: client-id
788
+ clientSecret: client-secret
789
+ resource:
790
+ tokenInfoUri: https://idp.example.com/oauth2/check_token
795
791
----
796
792
====
797
793
@@ -809,11 +805,10 @@ If you specify a user info endpoint like so:
809
805
====
810
806
[source,yaml]
811
807
----
812
- spring:
813
- security:
814
- oauth2:
815
- resource:
816
- userInfoUri: https://idp.example.com/oauth2/userinfo
808
+ security:
809
+ oauth2:
810
+ resource:
811
+ userInfoUri: https://idp.example.com/oauth2/userinfo
817
812
----
818
813
====
819
814
0 commit comments