Please enter the CouchDB server information below. We can use only Secure (HTTPS) connections on Obsidian Mobile. {translateMessage("Enter a complete HTTP or HTTPS URL.")} {translateMessage("CouchDB validates the database name when you connect. The name must not be empty.")} If you cannot avoid CORS issues, you might want to try this option. It uses Obsidian's internal API to communicate with the CouchDB server. Not compliant with web standards, but works. Note that this might break in future Obsidian versions. `${syncSetting.jwtExpDuration}`, (v) => (syncSetting.jwtExpDuration = parseInt(v) || 0)} disabled={!isUseJWT} /> For HS256/HS512 algorithms, provide the shared secret key. For ES256/ES512 algorithms, provide the pkcs8 PEM-formatted private key. JWT (JSON Web Token) authentication allows you to securely authenticate with the CouchDB server using tokens. Ensure that your CouchDB server is configured to accept JWTs and that the provided key and settings match the server's configuration. Incidentally, I have not verified it very thoroughly. {translateMessage( "This optional check uses Obsidian's internal request API and sends the credentials above to the CouchDB server. Use it only with a server you trust; administrator access may be required." )}
{error} {#if processing} Checking connection... Please wait. {:else} checkAndCommit()} /> {#if setupMode === "settings"} {translateMessage( "Saving without a successful connection test keeps this profile, but automatic synchronisation may fail until the connection is corrected." )} commit()} /> {/if} cancel()} /> {/if}