Hi Gary, thanks for this plugin!
Do you have a link to the OAuth documentation for mccloud? Better if in English :-)
I don't believe that mccould OAuth implementation is special; what you have coded as WORKAROUND 1 & 2 seem to be the normal web flow. I think you can remove those two workarounds, and just change the .provider file by replacing "user_agent" with "web_server", then add your ClientSecret in there too, and it should work.
Once you get it to work, can you also try removing the "DisableStateParameter" option, and see if it continues working? It's preferable not to use that option, because it disables a security feature.
Hi Gary, thanks for this plugin!
Do you have a link to the OAuth documentation for mccloud? Better if in English :-)
I don't believe that mccould OAuth implementation is special; what you have coded as WORKAROUND 1 & 2 seem to be the normal web flow. I think you can remove those two workarounds, and just change the .provider file by replacing "user_agent" with "web_server", then add your ClientSecret in there too, and it should work.
Once you get it to work, can you also try removing the "DisableStatePa rameter" option, and see if it continues working? It's preferable not to use that option, because it disables a security feature.
As for the user agent, could you please file a bug against https:/ /launchpad. net/ubuntu/ +source/ webbrowser- app and ask for a user-agent override to be added in Ubuntu.WebView?
If we manage to get all the above done, then we won't need any workarounds in the plugin, and we can avoid duplicating the code here. :-)