sthornton1978
08/18/2022, 2:15 AM<https://secure.au1.adobesign.com/public/oauth/v2?redirect_uri=https://localhost/testsign/redirect.cfm&response_type=code&client_id=myclient> id goes here&scope=user_login:self+agreement_write:account&state=S6YQD7KDA556DIV6NAU4ELTGSIV26ZNMXDSF7WIEEP0ZLQCLDQ89OYG78C3K9SROC8DXCGRVSGKU1IT1
but when I attempt to call the command with CFHTTP it never really works:
<cfhttp result="result" method="post" charset="utf-8" url="<https://secure.au1.adobesign.com/public/oauth/v2>">
<cfhttpparam
type="FORMFIELD"
name="response_type"
value='code'
/>
<cfhttpparam
type="FORMFIELD"
name="client_id"
value='myclient id goes here'
/>
<cfhttpparam
type="FORMFIELD"
name="redirect_uri"
value="<https://localhost/testsign/redirect.cfm>"
/>
<cfhttpparam
type="FORMFIELD"
name="scope"
value='user_login:self+agreement_write:account'
/>
<cfhttpparam
type="FORMFIELD"
name="state"
value='S6YQD7KDA556DIV6NAU4ELTGSIV26ZNMXDSF7WIEEP0ZLQCLDQ89OYG78C3K9SROC8DXCGRVSGKU1IT1'
/>
</cfhttp>
When I dump cfhttp.FileContent it contains HTML basically saying Invalid_request
Hopefully I am doing something obviously incorrect that someone can point out easily? Or better yet a working example!
Thanks,brettpr
08/18/2022, 6:27 AMsthornton1978
08/18/2022, 6:40 AMthisOldDave
08/18/2022, 8:13 AMMark Takata (Adobe)
08/18/2022, 3:08 PMraymondcamden
08/18/2022, 3:10 PMJim Frankowski
08/18/2022, 3:14 PMMark Takata (Adobe)
08/18/2022, 9:04 PMsthornton1978
08/19/2022, 6:31 AM