I work in an organization with many R users and comparatively few ArcGIS users. We manage our GIS data within an enterprise, and we have an enterprise agreement to manage licensing. We would like to take advantage of the arcgis meta-package to give our R users access to data and locator services hosted in our enterprise portal, and we're hoping to avoid relying on authentication through ArcGIS Pro credentials since most of the R users don't have that software or license.
I've been following the "Introduction to the R-ArcGIS Bridge" course offered by Esri in their training catalog, and it outlines granting access to an enterprise portal using an OAuth 2.0 application. While this process worked for me, I am having trouble figuring out how to help other users use this application to connect to our enterprise within their scripts. My impression is that these OAuth 2.0 application items are designed to be used for web applications rather than R scripts or notebooks which are stored locally.
I would like to facilitate a process where our R users make use of a user authentication process to connect to our enterprise portal using their own login credentials. Should I be using an OAuth 2.0 application for this process, or is there a better practice for granting access to an enterprise portal in R for multiple users?