1
0
mirror of https://github.com/sasjs/core.git synced 2026-01-15 20:40:05 +00:00

fix: trim edge cases and return of the register client url

This commit is contained in:
vrh
2020-09-11 00:38:37 +02:00
parent 7b72f0ac94
commit 91983e0a91
3 changed files with 28 additions and 8 deletions

View File

@@ -187,7 +187,7 @@ run;
%end;
/* prepare url */
%if &grant_type=authorization_code %then %do;
%if %index(%superq(grant_type),authorization_code) %then %do;
data _null_;
if symexist('_baseurl') then do;
url=symget('_baseurl');
@@ -206,7 +206,7 @@ run;
%put CLIENT_SECRET=&client_secret;
%put GRANT_TYPE=&grant_type;
%put;
%if &grant_type=authorization_code %then %do;
%if %index(%superq(grant_type),authorization_code) %then %do;
/* cannot use base_uri here as it includes the protocol which may be incorrect externally */
%put NOTE: The developer must also register below and select 'openid' to get the grant code:;
%put NOTE- ;