Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion clients/remote/src/user-api/server.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,9 @@ test('call connect rpc', async () => {
const json = await response.body.result

expect(response.statusCode).toBe(200)
expect(json.networks.length).toBe(3)
expect(json.networks.length).toBe(4)
expect(json.networks[0].name).toBe('Local (password IDP)')
expect(json.networks[1].name).toBe('Local (OAuth IDP)')
expect(json.networks[2].name).toBe('Local (OAuth IDP - Client Credentials)')
expect(json.networks[3].name).toBe('Devnet (Auth0)')
})
1 change: 0 additions & 1 deletion clients/remote/src/web/frontend/login/login.ts
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,6 @@ export class LoginUI extends LitElement {

const params = new URLSearchParams({
response_type: 'code',
response_mode: 'fragment',
client_id: this.selectedNetwork.auth.clientId || '',
redirect_uri: redirectUri || '',
nonce: crypto.randomUUID(),
Expand Down
23 changes: 23 additions & 0 deletions clients/test/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,29 @@
"clientSecret": "admin-client-secret"
}
}
},
{
"name": "Devnet (Auth0)",
"chainId": "canton:devnet-auth0",
"synchronizerId": "global-domain::1220be58c29e65de40bf273be1dc2b266d43a9a002ea5b18955aeef7aac881bb471a",
"description": "devnet configuration pointing to CNU's lab-operator",
"ledgerApi": {
"baseUrl": "https://lab-operator.utility.cnu.devnet.da-int.net/api/json-api"
},
"auth": {
"identityProviderId": "idp4",
"type": "implicit",
"issuer": "https://canton-registry-app-dev-1.eu.auth0.com/",
"configUrl": "https://canton-registry-app-dev-1.eu.auth0.com/.well-known/openid-configuration",
"tokenUrl": "https://canton-registry-app-dev-1.eu.auth0.com/oauth/token",
"audience": "https://canton.network.global",
"scope": "daml_ledger_api",
"clientId": "EQrKrlT5Z2B3F6TXDepQMGC4YdfnlLLR",
"admin": {
"clientId": "uHh5IA2hQWc78HHEPDJTmZm6GYhJbfev",
"clientSecret": "GET_FROM_AUTH0"
}
}
}
]
}
Expand Down
2 changes: 1 addition & 1 deletion core/wallet-ui-components/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"build": "vite build && yarn workspace @canton-network/core-wallet-ui-components tsc --emitDeclarationOnly",
"build:watch": "vite build --watch & tsc --emitDeclarationOnly --watch",
"typecheck": "tsc --noEmit",
"clean": "tsc -b --clean; rm -rf dist",
"clean": "rm -rf dist",
"dev": "storybook dev -p 6006"
},
"devDependencies": {
Expand Down
Loading