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

@@ -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')) {