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

Productivity Activities

Last updated Oct 29, 2025

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?

Get The Help You Need
Learning RPA - Automation Courses
UiPath Community Forum
Uipath Logo
Trust and Security
© 2005-2025 UiPath. All rights reserved.