Skip to content

Commit

Permalink
Merge branch 'feature/w3m/email-login' into feature/w3m/email_webview
Browse files Browse the repository at this point in the history
  • Loading branch information
kacperoak authored Feb 9, 2024
2 parents 507ce14 + 03a0d65 commit 6e28725
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ fun encodeDidWeb(appDomain: String): String {

// todo: What about https:// ?
fun decodeDidWeb(didWeb: String): String =
didWeb.removePrefix(listOf(DID_PREFIX, DID_METHOD_WEB).joinToString(DID_DELIMITER))
didWeb.removePrefix(listOf(DID_PREFIX, DID_METHOD_WEB).joinToString(separator = DID_DELIMITER, postfix = DID_DELIMITER))


inline fun <reified C : JwtClaims> decodeJwt(jwt: String): Result<Triple<JwtHeader, C, String>> = runCatching {
Expand Down

0 comments on commit 6e28725

Please sign in to comment.