1+ <!DOCTYPE html>
2+ < html lang ="en ">
3+
4+ < head >
5+ < title > Processing verfiable credentials</ title >
6+ </ head >
7+
8+ < body >
9+ < noscript > You need to enable JavaScript to run this app. </ noscript >
10+
11+ < script src ="https://cdnjs.cloudflare.com/ajax/libs/oidc-client/1.11.5/oidc-client.min.js "
12+ integrity ="sha512-pGtU1n/6GJ8fu6bjYVGIOT9Dphaw5IWPwVlqkpvVgqBxFkvdNbytUh0H8AP15NYF777P4D3XEeA/uDWFCpSQ1g== "
13+ crossorigin ="anonymous " referrerpolicy ="no-referrer "> </ script >
14+ < script >
15+ const manager = new Oidc . UserManager ( {
16+ authority : 'https://tc-vcauth-uat.diceid.com' ,
17+ client_id : 'topcoder' ,
18+ response_type : 'code' ,
19+ scope : 'openid profile vc_authn' ,
20+ redirect_uri : 'https://accounts-auth0.topcoder-dev.com/dice-verify-callback.html' ,
21+ response_mode : 'query' ,
22+ loadUserInfo : false ,
23+ } ) ;
24+ manager . settings . metadata = {
25+ issuer : 'https://tc-vcauth-uat.diceid.com' ,
26+ jwks_uri : 'https://tc-vcauth-uat.diceid.com/.well-known/openid-configuration/jwks' ,
27+ authorization_endpoint : 'https://tc-vcauth-uat.diceid.com/vc/connect/authorize?pres_req_conf_id=Topcoder_2FA_Validate_Cred' ,
28+ token_endpoint : 'https://tc-vcauth-uat.diceid.com/vc/connect/token' ,
29+ userinfo_endpoint : 'https://tc-vcauth-uat.diceid.com/connect/userinfo' ,
30+ check_session_iframe : 'https://tc-vcauth-uat.diceid.com/vc/connect/checksession' ,
31+ revocation_endpoint : 'https://tc-vcauth-uat.diceid.com/vc/connect/revocation' ,
32+ } ;
33+ manager . signinRedirect ( ) ;
34+ </ script >
35+ </ body >
36+
37+ </ html >
0 commit comments