Switch to PKSE OAuth impl (#1146)

* Auth pkse

* add additional fields

* fix actions

* fix lint

* Purge broken auth + bump version
This commit is contained in:
Geometrically
2024-04-24 21:27:25 -07:00
committed by GitHub
parent e9e99956ad
commit deedf4fc8b
8 changed files with 50 additions and 17 deletions

View File

@@ -1,7 +1,7 @@
{
"name": "theseus_gui",
"private": true,
"version": "0.7.1",
"version": "0.7.2",
"type": "module",
"scripts": {
"dev": "vite",

View File

@@ -1,6 +1,6 @@
[package]
name = "theseus_gui"
version = "0.7.1"
version = "0.7.2"
description = "A Tauri App"
authors = ["you"]
license = ""

View File

@@ -8,7 +8,7 @@
},
"package": {
"productName": "Modrinth App",
"version": "0.7.1"
"version": "0.7.2"
},
"tauri": {
"allowlist": {

View File

@@ -23,7 +23,10 @@ defineExpose({
supportLink.value =
'https://support.modrinth.com/en/articles/9038231-minecraft-sign-in-issues'
if (errorVal.message.includes('existing connection was forcibly closed')) {
if (
errorVal.message.includes('existing connection was forcibly closed') ||
errorVal.message.includes('error sending request for url')
) {
metadata.value.network = true
}
if (errorVal.message.includes('because the target machine actively refused it')) {