From 4a4a48dbdac380da47c2478cefe49540727ddc1a Mon Sep 17 00:00:00 2001 From: Blair Currey <12960453+BlairCurrey@users.noreply.github.com> Date: Tue, 11 Feb 2025 11:34:18 -0500 Subject: [PATCH] docs(localenv): add details for tenant credentials for admin ui (#3251) * docs(localenv): add details for tenant credentials for admin ui * doc(localenv): fix typo * chore: admin ui requirement info and add example output * chore: use full name for MASE, instead of acronym --- localenv/README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/localenv/README.md b/localenv/README.md index 9677d391b5..eab4f5df36 100644 --- a/localenv/README.md +++ b/localenv/README.md @@ -189,6 +189,14 @@ Authentication is disabled by default for ease of development, but it can be ena pnpm localenv:compose:adminauth up ``` +The Admin UI requires a valid API secret and tenant id to make requests to the Admin APIs, which must be submitted via a form on the frontend. For our convenience, we log a link on Mock Account Servicing Entity (MASE) start that can be used to access the Admin UI and set the credentials automatically. The credentials used pull from the MASE’s `SIGNATURE_SECRET` and `OPERATOR_TENANT_ID` environment variables. + +``` +cloud-nine-mock-ase-1 | Local Dev Setup: +cloud-nine-mock-ase-1 | Use this URL to access the frontend with operator tenant credentials: +cloud-nine-mock-ase-1 | http://localhost:3010/?tenantId=438fa74a-fa7d-4317-9ced-dde32ece1787&apiSecret=iyIgCprjb9uL8wFckR%2BpLEkJWMB7FJhgkvqhTQR%2F964%3D +``` + For additional details on using the Rafiki Admin application within the Local Playground, including enabling authentication and managing users, see the [Local Playground Rafiki Admin](https://rafiki.dev/integration/playground/overview/#rafiki-admin) documentation. # Reference