Skip to content

Commit

Permalink
add maia env
Browse files Browse the repository at this point in the history
  • Loading branch information
shihjay2 committed Jul 31, 2024
1 parent bb8cbce commit b3dbb5a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions do-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ EOF
# set domain entries
read -e -p "Enter your Root Domain Name (domain.com): " -i "" ROOT_DOMAIN
read -e -p "Enter your E-Mail address for Let's Encrypt ([email protected]): " -i "" EMAIL
read -e -p "Enter your MAIA URL (maia_domain.com): " -i "" MAIA_URL
read -e -p "Enter your DigitalOcean API Token: " -i "" DIGITALOCEAN_API_TOKEN
read -e -p "Enter your CouchDB/Traefik Password for admin user: " -i "" COUCHDB_PASSWORD
read -e -p "Enter your From Email: " -i "" FROM_EMAIL
Expand Down Expand Up @@ -140,6 +141,7 @@ ssh_post_data1()
{"key": "COUCHDB_PASSWORD", "value": "$COUCHDB_PASSWORD"},
{"key": "INSTANCE", "value": "digitalocean"},
{"key": "TRUSTEE_URL", "value": "https://$ROOT_DOMAIN"},
{"key": "MAIA_URL", "value": "https://$MAIA_URL"},
{"key": "NOSH_ROLE", "value": "patient"},
{"key": "AUTH", "value": "magic"},
{"key": "USPSTF_KEY", "value": "$USPSTF_KEY"},
Expand Down
2 changes: 1 addition & 1 deletion pages/api/as/.well-known/gnap-as-rs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ async function handler(req: NextApiRequest, res: NextApiResponse) {
});
res.status(200).json({
"grant_request_endpoint": url.protocol + "//" + url.hostname + '/api/as/tx',
"introspection_endpoint": url.protocol + "//" + url.hostname + '/api/as/introspect',
// "introspection_endpoint": url.protocol + "//" + url.hostname + '/api/as/introspect',
"resource_registration_endpoint": url.protocol + "//" + url.hostname + '/api/as/resource',
"token_formats_supported": ["jwt"]
});
Expand Down

0 comments on commit b3dbb5a

Please sign in to comment.