We are trying to replace our JWT App before the June deadline. I’ve created an Oauth App and set it up so that it redirects to Salesforce where we’ve set up a Named Credentials and an Auth Provider so that it can process the access token from Zoom. However I’m running into the error below when I try to add the App.
No_Oauth_State: State was not sent back
This error is provided from Salesforce when the redirect URL is followed.
I looked in the docs and I see that State is an optional parameter and I don’t see it in the “Add URL” url provided by the app. How do I set my app up so that it provides this state variable? I tried entering a dummy state variable into the redirect url and then I get the error that state is invalid so I’m not sure what is expected here.
Thanks for the tag, @cmcgloin! The state variable can be any random value as long as the call back URL state variable matches with the salesforce state propagate value. More details on this topic be found in this post:
Thank you so much for getting back to me @donte.zoom - I really appreciate it. So the docs you linked indicated that the state variable should be a hash of the session Id. How would I access that from the App UI?