OAuth2.0 and API


We're trying to get ServiceNow to run scripts in One IM and doing that with OAuth2.0. I've installed the RSTS but something is missing.

1. I have enabled both OAuth2.0-authentication modules but do I need to configure a identity provider in Designer -> Base data -> Security settings -> OAuth 2.0/OpenID Connect configuration and have that pointing to the RSTS?

2. From where do I get the shared secret in the configuration?

Hope someone can help with my questions.

PS. We're running Identity Manager 8.1.1