function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Yuval LevyYuval Levy 

Will Username-Password OAuth Authentication Flow by a Connected App return an error if the user has no priviledges to that App?

When using Salesforce as an external/thrid party Identity Provider, a Salesforce Connected App can initiate user authenication by using "Username-Password OAuth Authentication Flow (https://www.salesforce.com/us/developer/docs/api_rest/Content/intro_understanding_username_password_oauth_flow.htm)".

If the authenticated user was not assigned the priviledge to use the calling Connected App, will the authentictation fail? (I assume it should, I need to validate this assumption).