RegisteredClientRepository is the Spring Security Authorization Server contract for managing OAuth client credentials and configuration. An authorization server needs an implementation to register and retrieve client details. section 14.1 section 14.6
In-memory client registration
Define a RegisteredClient with clientId("client"), clientSecret("secret"), CLIENT_SECRET_BASIC authentication, the authorization_code grant, a redirect URI, and the openid scope, then expose an in-memory repository as a Spring bean.

