I’m trying to configure my app to use Oauth variable URLs and client data. I haven’t found where I can set the parameters. I assumed it would be during installation but they don’t show on http://localhost:10001/custom_configs. If I add the same config variables to iparams.json and set the fields on localhost/custom_configs, it still does not work for oauth.
I’m missing something here but I’m not sure where it is. My oauth config is at the bottom of the post.
Thanks
`{
"client_id": "<%= oauth_iparams.client_id %>",
"client_secret": "<%= oauth_iparams.client_secret %>",
"authorize_url": "https://<%= oauth_iparams.domain %>/oauth/authorize",
"token_url": "https://<%= oauth_iparams.domain %>/oauth/token",
"token_type": "agent",
"oauth_iparams": {
"domain": {
"display_name": "Domain Name",
"description": "Please enter your domain name without http(s):// or any trailing slashes",
"type": "text",
"required": true
},
"client_id": {
"display_name": "Client ID",
"description": "Please enter your client ID",
"type": "text",
"required": true
},
"client_secret": {
"display_name": "Client Secret",
"description": "Please enter your client secret",
"type": "text",
"required": true
}
}
}
`