Skip to content

Commit

Permalink
Update provider url
Browse files Browse the repository at this point in the history
  • Loading branch information
luistorres committed May 10, 2024
1 parent 3eb9178 commit bcb98c5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/web-app/app/_providers/idos/get-provider-url.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ const providerLivenessCheck =
const providerEthWalletCheck =
'%20verification.wallet-eth%3Aread%20verification.wallet-eth.details%3Aread';
const providerEnsureWalletCheck = '&ensure_wallet=';
const providerUniqueCheck =
'%20verification.uniq%3Aread%20verification.uniq.details%3Aread';
const userRole = '&user_role=person';

export const getProviderUrl = (address?: string) => {
Expand All @@ -19,6 +21,7 @@ export const getProviderUrl = (address?: string) => {
scope +
providerIdosCheck +
providerLivenessCheck +
providerUniqueCheck +
providerEthWalletCheck +
userRole
);
Expand All @@ -30,6 +33,7 @@ export const getProviderUrl = (address?: string) => {
scope +
providerIdosCheck +
providerLivenessCheck +
providerUniqueCheck +
providerEthWalletCheck +
providerEnsureWalletCheck +
address +
Expand Down

0 comments on commit bcb98c5

Please sign in to comment.