I am working on a use case to fetch system logs from the Okta API’s. The application which will be pulling logs from okta api is a native backend application.
I need some guidance here to decide which one out the below is considered as the best approach to do that :
a. Use the SSWS token with read only “Report Administrator” role.
b. Use Implement OAuth for Okta with a service app as explained here https://developer.okta.com/docs/guides/implement-oauth-for-okta-serviceapp/main/*use-the-client-credentials-grant-flow
Please advise which is the best and preferred way ?