Comments (2)
Okay, it's actually scope
(singular) in the Spring Boot config. So given a secret that looks like this:
apiVersion: v1
stringData:
client-id: fake-client
client-secret: a0c1eea6-6e5e-4de8-a0c8-832e328e35ae
issuer-uri: https://127.0.0.1:8443
provider: appsso
scope: openid,profile,email
type: oauth2
authorization-grant-type: authorization_code
kind: Secret
metadata:
name: sample-oauth2-secret
That should be bound into Spring boot like this:
security:
oauth2:
client:
registration:
appsso:
client-id: fake-client
client-secret: a0c1eea6-6e5e-4de8-a0c8-832e328e35ae
provider: appsso
authorization-grant-type: authorization_code
scope: openid,profile,email
provider:
appsso:
issuer-uri: https://127.0.0.1:8443
from spring-cloud-bindings.
Edited comment to reflect it should be scope: openid,profile,email
from spring-cloud-bindings.
Related Issues (20)
- Add sslmode, sslcert, and sslkey for PostgreSQL RDBMS
- SCS Configuration Help Needed
- x509: certificate signed by unknown authority for spring-cloud-bindings-1.6.0.jar while building Image for Configuration Watcher from source. HOT 8
- Make spring-cloud-bindings API extensible & reusable HOT 3
- Spring cloud bindings 1.8.0 release got overwritten HOT 5
- Add sslmode and sslrootcert for cockroachDB/Postgresql HOT 2
- Publish to Maven Central HOT 6
- MySQL R2DBC connection non-functional with MariaDB
- Enhance troubleshooting support HOT 5
- Support for ssl.enabled HOT 2
- Spring Security OAuth2 support for resource server.
- Incorrect documentation for redis bindings HOT 1
- Service binding doesn't work with Oracle and SqlServer HOT 1
- Redis: add support for username and sentinel username fields HOT 1
- spring.redis.* should be spring.data.redis.* in spring boot 3 HOT 7
- oAuth 2 clients may break with SpringBoot 3 HOT 1
- Make bindings enabled by default
- Wavefront bindings have changed in SB2 > 3
- Missing release 1.8 spring-cloud-bindings HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from spring-cloud-bindings.