OAuth2
,added heading
Present an authorization dialog for any web service that supports OAuth2 .
Please note in order to use this stack that for a bug on version 9 you should type:
start using stack "oauth2"
== Built-in Message handler ==
Syntax
OAuth2 pAuthURL,pTokenURL,pClientID,pClientSecret,pScopes,pPort,pParams
'''Warning:''' The client secret should be kept securely when distributing an application in order to protect your application from malicious use. The recommended way to do this is to include the client secret into a script in a password protected stack. If that is not possible allow users to configure their own application with the web service and enter their own client id and secret into a preference instead of distributing your client id and secret.
See also: [[OAuth2Refresh]]
[[Category:Commands]]
[[Category:Internet]]