Skip to content

Commit 23e4da0

Browse files
authored
Update identity provider to id.ai and add Internet Identity init_arg (#1256)
1 parent 476a143 commit 23e4da0

File tree

12 files changed

+12
-6
lines changed

12 files changed

+12
-6
lines changed

motoko/filevault/dfx.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
"internet_identity": {
1717
"candid": "https://github.com/dfinity/internet-identity/releases/latest/download/internet_identity.did",
1818
"type": "custom",
19+
"init_arg": "(opt record { new_flow_origins = opt vec { \"http://rdmx6-jaaaa-aaaaa-aaadq-cai.localhost:4943\" } })",
1920
"specified_id": "rdmx6-jaaaa-aaaaa-aaadq-cai",
2021
"remote": {
2122
"id": {

motoko/filevault/frontend/src/App.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import '../index.css';
77
const network = process.env.DFX_NETWORK;
88
const identityProvider =
99
network === 'ic'
10-
? 'https://identity.ic0.app' // Mainnet
10+
? 'https://id.ai/' // Mainnet
1111
: 'http://rdmx6-jaaaa-aaaaa-aaadq-cai.localhost:4943'; // Local
1212

1313
function App() {

motoko/nft-creator/dfx.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
"internet_identity": {
44
"candid": "https://github.com/dfinity/internet-identity/releases/latest/download/internet_identity.did",
55
"frontend": {},
6+
"init_arg": "(opt record { new_flow_origins = opt vec { \"http://rdmx6-jaaaa-aaaaa-aaadq-cai.localhost:4943\" } })",
67
"remote": {
78
"id": {
89
"ic": "rdmx6-jaaaa-aaaaa-aaadq-cai"

motoko/nft-creator/frontend/vite.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ dotenv.config({ path: path.resolve(__dirname, "../.env") });
1212
process.env.II_URL =
1313
process.env.DFX_NETWORK === "local"
1414
? `http://rdmx6-jaaaa-aaaaa-aaadq-cai.localhost:4943/`
15-
: `https://identity.internetcomputer.org/`;
15+
: `https://id.ai/`;
1616

1717
export default defineConfig({
1818
base: "./",

motoko/tokenmania/dfx.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
"internet_identity": {
1717
"candid": "https://github.com/dfinity/internet-identity/releases/latest/download/internet_identity.did",
1818
"type": "custom",
19+
"init_arg": "(opt record { new_flow_origins = opt vec { \"http://rdmx6-jaaaa-aaaaa-aaadq-cai.localhost:4943\" } })",
1920
"specified_id": "rdmx6-jaaaa-aaaaa-aaadq-cai",
2021
"remote": {
2122
"id": {

motoko/tokenmania/frontend/src/InternetIdentity.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { createActor, canisterId } from 'declarations/backend';
55
const network = process.env.DFX_NETWORK;
66
const identityProvider =
77
network === 'ic'
8-
? 'https://identity.ic0.app' // Mainnet
8+
? 'https://id.ai/' // Mainnet
99
: 'http://rdmx6-jaaaa-aaaaa-aaadq-cai.localhost:4943'; // Local
1010

1111
const InternetIdentity = ({ setActor, isAuthenticated, setIsAuthenticated }) => {

motoko/who_am_i/dfx.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
"internet_identity": {
1717
"candid": "https://github.com/dfinity/internet-identity/releases/latest/download/internet_identity.did",
1818
"type": "custom",
19+
"init_arg": "(opt record { new_flow_origins = opt vec { \"http://rdmx6-jaaaa-aaaaa-aaadq-cai.localhost:4943\" } })",
1920
"specified_id": "rdmx6-jaaaa-aaaaa-aaadq-cai",
2021
"remote": {
2122
"id": {

motoko/who_am_i/frontend/src/App.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import { canisterId } from 'declarations/backend/index.js';
66
const network = process.env.DFX_NETWORK;
77
const identityProvider =
88
network === 'ic'
9-
? 'https://identity.ic0.app' // Mainnet
9+
? 'https://id.ai/' // Mainnet
1010
: 'http://rdmx6-jaaaa-aaaaa-aaadq-cai.localhost:4943'; // Local
1111

1212
// Reusable button component

rust/tokenmania/dfx.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
"type": "custom",
2121
"candid": "https://github.com/dfinity/internet-identity/releases/latest/download/internet_identity.did",
2222
"wasm": "https://github.com/dfinity/internet-identity/releases/latest/download/internet_identity_dev.wasm.gz",
23+
"init_arg": "(opt record { new_flow_origins = opt vec { \"http://rdmx6-jaaaa-aaaaa-aaadq-cai.localhost:4943\" } })",
2324
"specified_id": "rdmx6-jaaaa-aaaaa-aaadq-cai",
2425
"remote": {
2526
"id": {

rust/tokenmania/frontend/src/InternetIdentity.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { createActor, canisterId } from 'declarations/backend';
55
const network = process.env.DFX_NETWORK;
66
const identityProvider =
77
network === 'ic'
8-
? 'https://identity.ic0.app' // Mainnet
8+
? 'https://id.ai/' // Mainnet
99
: 'http://rdmx6-jaaaa-aaaaa-aaadq-cai.localhost:4943'; // Local
1010

1111
const InternetIdentity = ({ setActor, isAuthenticated, setIsAuthenticated }) => {

0 commit comments

Comments
 (0)