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
Mark FoxMark Fox 

Read Only Connected App

Connected apps OAuth scopes have many options,:

api 
chatter_api 
full 
id 
refresh_token 
visualforce 
web 

What will provide read-only access to salesforce?
NagendraNagendra (Salesforce Developers) 
Hi Mark Fox,

The scope parameter enables you to fine-tune what the client application can access in a Salesforce organization.There is no such clear concept which will provide read-only access to Salesforce.Depending the value parameter of the scope the level of access is granted.The valid values for scope are:

User-added image

All scope values automatically include id, so that regardless of which values for the scope you pass, you always have access to the identity URLs.

As a user approves applications, the value of the scope is stored with the refresh token.

For example, if a user approves an application with a scope of id, the refresh token is created with scope=id. Then, if the user approves the second application with a different range, for example, API, the refresh token is created with scope=api.

For both JSON or SAML bearer token requests, the request looks at the scopes of all the previous refresh tokens and combines them.

Kindly mark it as solved if it helps you.

Best Regards,
Nagendra.P


 
Mark FoxMark Fox
Nagendra,

So there is not an option for read-only access to an object or data?