@H-elmu-t
hello ,
I had a question a HTTP post you posted
https://communities.sas.com/t5/Developers/Authentication-OAuth-2nd-PROC-HTTP-fails/m-p/640008#M733
how do I pass my username and password in the below. Please find a sample username and password posted by me.
filename resp temp;
proc http url="https://mysasserver.net:443/SASLogon/oauth/token"
method='post'
in="grant_type=password%nrstr(&username=)&USERNAME.%nrstr(&password=)&PASSWORD."
username="&CLIENT_ID."
password="&CLIENT_SECRET."
out=resp
auth_basic verbose;
debug level=3;
run;
libname tokens json "%sysfunc(pathname(resp))";
%global ACCESS_TOKEN;
proc sql noprint;
select access_token into:ACCESS_TOKEN, from tokens.root;
quit;
I have a
user='SVCTESTCRMAUT999'
password=999999999
url = ' https:// xxxxxxxxxxxxxxxx'