oauth2-client-demo/infos.js
Yann Esposito (Yogsototh) be139403bb
use code
2018-06-04 21:54:38 +02:00

14 lines
541 B
JavaScript

var oauthURLPrefix="http://localhost:9001";
var oauthServerUrl=oauthURLPrefix + "/iroh/oauth2/authorize";
var oauthServerTokenUrl=oauthURLPrefix + "/iroh/oauth2/token";
var resourceProviderTestEndpoint=oauthURLPrefix + "/iroh/iroh-ui-settings/whoami" ;
var response_type="code";
var client_id="localtest";
var client_password = "localpass";
var redirect_uri="http://localhost:9999/code.html";
var scopes=[ "private-intel"
, "ui-settings"
// , inexistant
];
var scope=scopes.join(" ");
var state="whatever";