To authenticate to Retently, and connect to your own data or to allow other users to connect to their data, you can use the OAuth standard.
Using OAuth Authentication
First, you will need to register an OAuth application with Retently. You can do so by "Login to your Retently account" and "Navigate to https://app.retently.com/settings/oauth page". Your Oauth application will be assigned a client id and a client secret.
After setting the following connection properties, you are ready to connect:
- OAuthClientId: Set this to the client_id that is specified in you app settings.
- OAuthClientSecret: Set this to the client_secret that is specified in you app settings.
- CallbackURL: Set this to the Redirect URI of your choice.For example http://localhost:33345
- InitiateOAuth: Set this to GETANDREFRESH. You can use InitiateOAuth to manage the process to obtain the OAuthAccessToken.
Example connection string: