RegisteredClient describes a client known to an authorization server. A RegisteredClientRepository manages these objects, including client credentials and registration details. section 14.1
Registering a client
Create a RegisteredClient with a generated ID, client credentials, CLIENT_SECRET_BASIC authentication, authorization-code support, a redirect URI, and the OPENID scope; return it through a RegisteredClientRepository bean.
