oauth2-client-demo/site/infos.js
Yann Esposito (Yogsototh) 8afc62a50d
add oidc
2020-02-21 18:51:38 +00:00

11 lines
550 B
JavaScript

var oauthURLPrefix="https://visibility.int.iroh.site";
var oauthServerUrl=oauthURLPrefix + "/iroh/oauth2/authorize";
var oauthServerTokenUrl=oauthURLPrefix + "/iroh/oauth2/token";
var resourceProviderTestEndpoint=oauthURLPrefix + "/iroh/profile/whoami" ;
var response_type="code";
var client_id="client-92258bc0-196a-4f6c-a0b5-fe105de5f505";
var client_password = "xoM2Gisjqp7Sp1jnw9Y6Yce9gfg4hmoRxZTekLqKi6i7o1xBiPvLvA";
var redirect_uri="https://localhost:5443/callback";
var scopes=[ "openid" ];
var scope=scopes.join(" ");
var state="whatever=";