Any idea how I can test
I have a GWT app that retrieves data from the Asana API.
I've not been able to test locally since the Deprecation of OAuth 2.0 ‘http’ Redirects.
The Asana Docs (https://asana.com/developers/feed/oauth-http-redirect-deprecation) say I can use stunnel: "For non-production or personal use, you may wish to check out stunnel, which can act as a proxy to receive an encrypted connection, decrypt it, and forward it on to your application"
My stunnel config so far is:
[asana_test]
accept = 9999
connect = 8888
cert = stunnel.pem
And my app is configured with:
"auth_uri":"https://app.asana.com/-/oauth_authorize",
"token_uri":"https://app.asana.com/-/oauth_token",
"redirect_uris":["https://127.0.0.1:9999/asanaoauth2callback"],
"javascript_origins":["http://127.0.0.1:8888"]
but with that I get a 500 error on the url https://127.0.0.1:9999/asanaoauth2callback?code=xxxx:
HTTP ERROR 500
Problem accessing /asanaoauth2callback. Reason:
Could not verify SSL certificate for URL: https://app.asana.com/-/oauth_token