Fall back to OIDC response_mode query if fragment unsupported (#33169)

* Fall back to OIDC response_mode query if fragment unsupported

* Tidy comments

* Fix test
This commit is contained in:
Michael Telatynski
2026-04-16 11:07:39 +00:00
committed by GitHub
parent 583eae63f7
commit 64d3802efe
10 changed files with 75 additions and 30 deletions
@@ -321,7 +321,7 @@ describe("<MatrixChat />", () => {
const code = "test-oidc-auth-code";
const state = "test-oidc-state";
const urlParams = {
oidc: {
oidc_fragment: {
code,
state: state,
},
@@ -386,7 +386,7 @@ describe("<MatrixChat />", () => {
it("should fail when query params do not include valid code and state", async () => {
const urlParams = {
oidc: {
oidc_query: {
code: "",
state: "abc",
},