diff --git a/authentik/providers/oauth2/views/provider.py b/authentik/providers/oauth2/views/provider.py index 7cdd0b781..62e993855 100644 --- a/authentik/providers/oauth2/views/provider.py +++ b/authentik/providers/oauth2/views/provider.py @@ -17,7 +17,12 @@ from authentik.providers.oauth2.constants import ( GRANT_TYPE_REFRESH_TOKEN, SCOPE_OPENID, ) -from authentik.providers.oauth2.models import OAuth2Provider, ResponseTypes, ScopeMapping +from authentik.providers.oauth2.models import ( + OAuth2Provider, + ResponseMode, + ResponseTypes, + ScopeMapping, +) from authentik.providers.oauth2.utils import cors_allow LOGGER = get_logger() @@ -73,6 +78,11 @@ class ProviderInfoView(View): ResponseTypes.CODE_ID_TOKEN, ResponseTypes.CODE_ID_TOKEN_TOKEN, ], + "response_modes_supported": [ + ResponseMode.QUERY, + ResponseMode.FRAGMENT, + ResponseMode.FORM_POST, + ], "jwks_uri": self.request.build_absolute_uri( reverse( "authentik_providers_oauth2:jwks", diff --git a/web/src/elements/forms/SearchSelect.ts b/web/src/elements/forms/SearchSelect.ts index 547484a39..8df447880 100644 --- a/web/src/elements/forms/SearchSelect.ts +++ b/web/src/elements/forms/SearchSelect.ts @@ -259,7 +259,7 @@ export class SearchSelect extends AKElement { this.renderMenu(); }} @blur=${(ev: FocusEvent) => { - // Check if we're loosing focus to one of our dropdown items, and if such don't blur + // Check if we're losing focus to one of our dropdown items, and if such don't blur if (ev.relatedTarget instanceof HTMLButtonElement) { const parentMenu = ev.relatedTarget.closest( "ul.pf-c-dropdown__menu.pf-m-static",