Use proper oauth state (#3847)

This commit is contained in:
Anbraten
2024-06-27 16:52:09 +02:00
committed by GitHub
parent 92cd0d04a3
commit 2bda19024e
12 changed files with 164 additions and 64 deletions

View File

@@ -452,5 +452,6 @@
"oauth_error": "Error while authenticating against OAuth provider",
"internal_error": "Some internal error occurred",
"registration_closed": "The registration is closed",
"access_denied": "You are not allowed to access this instance"
"access_denied": "You are not allowed to access this instance",
"invalid_state": "The OAuth state is invalid"
}

View File

@@ -52,6 +52,7 @@ const authErrorMessages = {
internal_error: i18n.t('internal_error'),
registration_closed: i18n.t('registration_closed'),
access_denied: i18n.t('access_denied'),
invalid_state: i18n.t('invalid_state'),
};
const errorMessage = ref<string>();