spring-projects / spring-security

Spring Security
http://spring.io/projects/spring-security
Apache License 2.0
8.81k stars 5.9k forks source link

Document setting up `client_credentials` with access tokens scoped to the application #15304

Closed sjohnr closed 3 weeks ago

sjohnr commented 4 months ago

We should add a clear example to the reference for setting up an application with the client_credentials grant type. Often, this use case requires access tokens scoped to the application instead of individual users in session.

Related gh-15295

FryingHellfish commented 2 months ago

Hi @sjohnr,

Would you be kind enough to share some code snippets related to this example, specifically for reactive applications? We're encountering similar issues as described in gh-10083 and gh-13816, and we're very interested in finding a solution.

Thank you in advance.