Allowable characters and length limit for OAuth2 client. | Community
Skip to main content
Level 6
March 7, 2023
Solved

Allowable characters and length limit for OAuth2 client.

  • March 7, 2023
  • 1 reply
  • 1190 views

Hi

We need below information to validate the Basic and OAuth2 credentials in AEM.

password :

  1. What could be the maximum length for password.

clientId :

  1. What could be the maximum length for clientId.
  2. What are the allowable printable characters for clientId.

clientSecret :

  1. What could be the maximum length for clientSecret.
  2. What are the allowable allowable printable characters for clientSecret.

privateKey : 

  1. What could be the maximum length for privateKey.
  2. What are the allowable printable characters for privateKey.

Thanks.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Kiran_Vedantam

Hi @akshaybhujbale 

 

Please go through the below links for best practices. AEM Ideally would accept all the best practices mentioned.

 

https://apaleo.dev/guides/oauth-connection/best-practices.html#client-id-and-secret

https://stackoverflow.blog/2021/10/06/best-practices-for-authentication-and-authorization-for-rest-apis/

 

Hope it helps!

Thanks,
Kiran Vedantam.

1 reply

Kiran_Vedantam
Community Advisor
Kiran_VedantamCommunity AdvisorAccepted solution
Community Advisor
March 7, 2023

Hi @akshaybhujbale 

 

Please go through the below links for best practices. AEM Ideally would accept all the best practices mentioned.

 

https://apaleo.dev/guides/oauth-connection/best-practices.html#client-id-and-secret

https://stackoverflow.blog/2021/10/06/best-practices-for-authentication-and-authorization-for-rest-apis/

 

Hope it helps!

Thanks,
Kiran Vedantam.