mirror of
https://github.com/Novaloop-AG/healthchat-web.git
synced 2026-11-04 10:32:44 +00:00
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:
committed by
GitHub
parent
583eae63f7
commit
64d3802efe
@@ -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",
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user