Skip to content

Commit

Permalink
[ADDED] openid credential issuer
Browse files Browse the repository at this point in the history
Signed-off-by: ase-101 <[email protected]>
  • Loading branch information
zesu22 authored and ase-101 committed Jan 23, 2024
1 parent ad8da7c commit 9d76b07
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
8 changes: 8 additions & 0 deletions oidc-ui/nginx/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,14 @@ http {
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Host $server_name;
}
location /.well-known/openid-credential-issuer {
proxy_pass http://esignet.esignet/v1/esignet/vci/.well-known/openid-credential-issuer;
proxy_redirect off;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Host $server_name;
}
# location /oidc-ui {
# alias /usr/share/nginx/oidc-ui;
# try_files $uri $uri/ /oidc-ui/index.html;
Expand Down
4 changes: 4 additions & 0 deletions oidc-ui/public/env-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,9 @@ window._env_ = {
name: "Authorization Server",
value: "/.well-known/oauth-authorization-server",
},
{
name: "OpenID Credential Issuer",
value: "/.well-known/openid-credential-issuer",
},
],
};

0 comments on commit 9d76b07

Please sign in to comment.