Expand my Community achievements bar.

SOLVED

Allowable characters and length limit for OAuth2 client.

Avatar

Level 7

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.

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

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-a...

 

Hope it helps!

Thanks,
Kiran Vedantam.

View solution in original post

1 Reply

Avatar

Correct answer by
Community Advisor

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-a...

 

Hope it helps!

Thanks,
Kiran Vedantam.