Hi, I am implementing the oauth2 part of my smartapp and the authorize step directs to error=invalid_request&error_description=The+request+is+malformed.
Hi, @rst11
This is weird. You should be redirected to the “redirect URI” you defined in your app’s configuration, along with the authorization code as the query parameter. Have you checked if you receive that request on your server?
I haven’t seen this flow redirecting to the installedapp endpoint.
Hi @nayelyz . does this mean the &redirect_url= specified on the url the client is being directed to is completely ignored? can i remove it so not to cause confusion.
Are there any logs that i can view that will explain why the there is no call to the url specified on the application registration?
can you explain what you mean by: >> I haven’t seen this flow redirecting to the installedapp endpoint.
No, it is used, but it must match the redirect URI you defined in your app’s configuration. Both must be present.
Not directly, but you can test first if your URL passes this SSL test: SSL Server Test (Powered by Qualys SSL Labs)
If not, that could be the reason why no request reaches your server.