activities
latest
false
UiPath logo, featuring letters U and I in white

Productivity activities

Last updated Mar 13, 2026

AADSTS700025: Client is public so neither 'client_assertion' nor 'client_secret' should be presented

Issue

When using the username and password authentication, you may encounter the following error: AADSTS700025: Client is public so neither 'client_assertion' nor 'client_secret' should be presented.

This error usually occurs if you are using Public Client Application and passing the client_secret to generate the access token.

Solution

Make sure the application is configured as explained in the Bring your own OAuth 2.0 app section.

  • Issue
  • Solution

Was this page helpful?

Connect

Need help? Support

Want to learn? UiPath Academy

Have questions? UiPath Forum

Stay updated