Skip to content

Commit 9a77316

Browse files
authored
Merge pull request #3 from algorandfoundation/chore/change-base-server
fix: update service url
2 parents fd93961 + ffc2c22 commit 9a77316

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ If you are using Expo, you can configure the plugin in your `app.json` or `app.c
4242
}
4343
```
4444

45-
- `site`: The URL of your FIDO server (default: `https://fido.shore-tech.net`).
45+
- `site`: The URL of your FIDO server (default: `https://debug.liquidauth.com`).
4646
- `label`: The name of the credential provider as it appears in Android settings (default: `My Credential Provider`).
4747

4848
## Usage

app.plugin.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ const withUserAgent = (config) => {
165165
};
166166

167167
const withPasskeyAutofill = (config, props = {}) => {
168-
const site = props.site || "https://fido.shore-tech.net";
168+
const site = props.site || "https://debug.liquidauth.com";
169169
const label = props.label || "My Credential Provider";
170170

171171
config = withAndroidCookieModule(config);

example/App.tsx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ function AppContent() {
104104
}
105105

106106
const urlSafeCredentialId = credentialId.replace(/\+/g, '-').replace(/\//g, '_').replace(/=/g, '');
107-
const response = await fetch(`https://fido.shore-tech.net/assertion/request/${urlSafeCredentialId}`, {
107+
const response = await fetch(`https://debug.liquidauth.com/assertion/request/${urlSafeCredentialId}`, {
108108
method: 'POST',
109109
headers: { 'Content-Type': 'application/json' },
110110
body: JSON.stringify({
@@ -121,7 +121,7 @@ function AppContent() {
121121
console.log(options)
122122
const result = await Passkey.get(options);
123123

124-
const submitResponse = await fetch('https://fido.shore-tech.net/assertion/response', {
124+
const submitResponse = await fetch('https://debug.liquidauth.com/assertion/response', {
125125
method: 'POST',
126126
headers: { 'Content-Type': 'application/json' },
127127
body: JSON.stringify(result),
@@ -164,7 +164,7 @@ function AppContent() {
164164

165165
await ReactNativePasskeyAutofill.setHdRootKeyId(ed25519Key.metadata.parentKeyId)
166166

167-
const response = await fetch('https://fido.shore-tech.net/attestation/request', {
167+
const response = await fetch('https://debug.liquidauth.com/attestation/request', {
168168
method: 'POST',
169169
headers: { 'Content-Type': 'application/json' },
170170
body: JSON.stringify({
@@ -195,7 +195,7 @@ function AppContent() {
195195
...result.clientExtensionResults,
196196
liquid: {
197197
requestId: 'example-session-' + Date.now(),
198-
origin: 'fido.shore-tech.net',
198+
origin: 'debug.liquidauth.com',
199199
type: 'algorand',
200200
address: encodeAddress(new Uint8Array(ed25519Key.publicKey)),
201201
signature: toBase64URL(signature),
@@ -204,7 +204,7 @@ function AppContent() {
204204
};
205205
}
206206

207-
const submitResponse = await fetch('https://fido.shore-tech.net/attestation/response', {
207+
const submitResponse = await fetch('https://debug.liquidauth.com/attestation/response', {
208208
method: 'POST',
209209
headers: { 'Content-Type': 'application/json' },
210210
body: JSON.stringify(result),

example/app.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
[
3131
"@algorandfoundation/react-native-passkey-autofill",
3232
{
33-
"site": "https://fido.shore-tech.net"
33+
"site": "https://debug.liquidauth.com"
3434
}
3535
]
3636
]

0 commit comments

Comments
 (0)