Hello good afternoon to everyone.
A customer asked to do a salesforce integration for zendesk.
My question is, once I get the barer token from salesforce, how can I store it safely. I can't use localstorage.
The oauth2 client method that zendesk offers only allows me to put the static values in the manifest. but I need the clientid and client secret to be dynamic so that when each user that installs the app can log in through Oauth2.
Hey Javier,
When configuring oauth the client id and client secret are global for the entire account / service. So for your customer they will only need one client id and client secret for all of their users. Can you explain to me why each user would need to have entirely separate oauth clients? As for the bearer token, you could use a hidden parameter to store the bearer token. Then interact / update it via the metadata api method.
Hope this helps,
Have a wonderful day!
Eric Nelson | Manager - Developer Advocacy