Switch launcher EDUT ID flow calls to /secret/id aliases
Some checks are pending
check / launcher (push) Waiting to run
Some checks are pending
check / launcher (push) Waiting to run
This commit is contained in:
parent
807139ef25
commit
de74e6f9a2
@ -777,7 +777,7 @@ async function onRevokeSession() {
|
||||
async function onStatus() {
|
||||
const out = await request(
|
||||
"GET",
|
||||
`/secret/membership/status?wallet=${encodeURIComponent(requireWallet())}`,
|
||||
`/secret/id/status?wallet=${encodeURIComponent(requireWallet())}`,
|
||||
);
|
||||
state.lastStatus = out;
|
||||
if (out.designation_code) {
|
||||
@ -806,7 +806,7 @@ async function onQuote() {
|
||||
if (sponsorOrgRoot) {
|
||||
payload.sponsor_org_root_id = sponsorOrgRoot;
|
||||
}
|
||||
const out = await request("POST", "/secret/membership/quote", payload);
|
||||
const out = await request("POST", "/secret/id/quote", payload);
|
||||
state.lastQuote = out;
|
||||
$("quoteId").value = out.quote_id || "";
|
||||
$("quoteValue").value = out.value || "";
|
||||
@ -835,7 +835,7 @@ async function onConfirmMembership() {
|
||||
if (attestationID) {
|
||||
payload.identity_attestation_id = attestationID;
|
||||
}
|
||||
const out = await request("POST", "/secret/membership/confirm", payload);
|
||||
const out = await request("POST", "/secret/id/confirm", payload);
|
||||
state.lastStatus = {
|
||||
...(state.lastStatus || {}),
|
||||
status: "active",
|
||||
|
||||
Loading…
Reference in New Issue
Block a user