Skip to content

Commit

Permalink
fix: add v1 to siwe uri (#680)
Browse files Browse the repository at this point in the history
Fixes missing /v1 in default Siwe uri
  • Loading branch information
JGiter committed Feb 24, 2023
1 parent 9d01b84 commit 8f032d0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/modules/cache-client/auth.ts
Expand Up @@ -30,8 +30,8 @@ export class SsiAuth {
data: { nonce },
} = await this.http.post<{ nonce: string }>('/login/siwe/initiate');
const uri = new URL(
'/login/siwe/verify',
cacheConfigs()[this.signerService.chainId].url
'/v1/login/siwe/verify',
new URL(cacheConfigs()[this.signerService.chainId].url).origin
).href;
const siweMessage = new SiweMessage({
nonce,
Expand Down

0 comments on commit 8f032d0

Please sign in to comment.