Skip to content

Commit

Permalink
iOS physical testing updates
Browse files Browse the repository at this point in the history
  • Loading branch information
forrest57 committed Jun 10, 2024
1 parent 6e9e7ad commit ca07af9
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
5 changes: 2 additions & 3 deletions src/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ import {
WalletMethodConfig
} from "./types/config";
import { readFileAsJSON } from "./utils/file";
import { serverUrl } from "./utils/server";

export const staticContentRootPath = "/static_contents";
const root = path.resolve(".");
Expand Down Expand Up @@ -228,9 +229,7 @@ const defaultConfig: IoDevServerConfig = {
relyingParties: [
{
id: "1",
redirectUri: [
"http://localhost:3000/fims/relyingParty/1/redirectUri"
],
redirectUri: [`${serverUrl}/fims/relyingParty/1/redirectUri`],
registrationName: "Example Relying Party 1",
scopes: ["openid", "profile"]
}
Expand Down
3 changes: 2 additions & 1 deletion src/payloads/backend.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import { ToolEnum } from "../../generated/definitions/content/AssistanceToolConf
import { BackendStatus } from "../../generated/definitions/content/BackendStatus";
import { LevelEnum } from "../../generated/definitions/content/SectionStatus";
import { pnOptInServiceId } from "../features/pn/services/services";
import { serverUrl } from "../utils/server";

export const backendInfo = {
min_app_version: { android: "1.27.0", ios: "1.27.0" },
Expand Down Expand Up @@ -44,7 +45,7 @@ export const backendStatus: BackendStatus = {
},
fims: {
enabled: true,
domain: "http://localhost:3000/fims/provider/"
domain: `${serverUrl}/fims/provider/`
},
uaDonations: {
enabled: false,
Expand Down
5 changes: 3 additions & 2 deletions src/utils/variables.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import {
SIGNED_SIGNATURE_REQUEST_ID,
WAIT_QTSP_SIGNATURE_REQUEST_ID
} from "../payloads/features/fci/signature-request";
import { serverUrl } from "./server";

export const frontMatterMyPortal = `---
it:
Expand Down Expand Up @@ -109,11 +110,11 @@ export const frontMatter1CTAFims = `---
it:
cta_1:
text: "Fims SSO"
action: "iosso://http://localhost:3000/fims/relyingParty/1/landingPage"
action: "iosso://${serverUrl}/fims/relyingParty/1/landingPage"
en:
cta_1:
text: "Fims SSO"
action: "iosso://http://localhost:3000/fims/relyingParty/1/landingPage"
action: "iosso://${serverUrl}/fims/relyingParty/1/landingPage"
---`;

export const frontMatterCTAFCISignatureRequest = `---
Expand Down

0 comments on commit ca07af9

Please sign in to comment.