why we are storing the client secret as plain text in database in spring OAuth 2.0?
<p>I am a new guy to Spring OAuth 2.0. We would like to use the "Client credentials" grant type for our resource server .While implementing this type we are not sure about the maintaining the "Client ID" and "Client Secret" as plain text in the databases. Somebody will hack these client ID and client secret and may miss use these if we store client secret as plain text. </p>

<p>Can any one please let us know whether is there any way to keep these values "Client ID" and "Client Secret" in the encrypted format?.</p>

<p>Is there any default option available in Spring OAuth 2.0 to encode and decode it?</p>

<p>Please let usknow is there any specific reason to store the client secret as plain text?</p>

<p>Thanks,</p>