You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Code:
let config = new AdalConfig(.... other parameters .... );
config.resource = "https://some.com/SomeApi";
let context = Authentication.getContext(this.createConfig());
context.login();
Actual result:
&resource parameter is not provided.
Workaround: had to use 'extraQueryParameter' field instead.
config.extraQueryParameter = "nux=1";
was changed to
config.extraQueryParameter = "nux=1&https://some.com/SomeApi";
The text was updated successfully, but these errors were encountered:
Code:
let config = new AdalConfig(.... other parameters .... );
config.resource = "https://some.com/SomeApi";
let context = Authentication.getContext(this.createConfig());
context.login();
Expected result:
when setting .resource field of AdalConfig
&resource parameter is added to https://login.microsoftonline.com/ url.
Actual result:
&resource parameter is not provided.
Workaround: had to use 'extraQueryParameter' field instead.
config.extraQueryParameter = "nux=1";
was changed to
config.extraQueryParameter = "nux=1&https://some.com/SomeApi";
The text was updated successfully, but these errors were encountered: