mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-12-23 11:35:04 +01:00
setup oidc for thirdroom
This commit is contained in:
parent
220ddc7175
commit
7ba2f26624
@ -23,6 +23,8 @@ export {Client, LoadStatus, LoginFailure} from "./matrix/Client.js";
|
|||||||
export {RoomStatus} from "./matrix/room/common";
|
export {RoomStatus} from "./matrix/room/common";
|
||||||
export {AttachmentUpload} from "./matrix/room/AttachmentUpload";
|
export {AttachmentUpload} from "./matrix/room/AttachmentUpload";
|
||||||
export {CallIntent} from "./matrix/calls/callEventTypes";
|
export {CallIntent} from "./matrix/calls/callEventTypes";
|
||||||
|
export {OidcApi} from "./matrix/net/OidcApi";
|
||||||
|
export {OIDCLoginMethod} from "./matrix/login/OIDCLoginMethod";
|
||||||
// export everything needed to observe state events on all rooms using session.observeRoomState
|
// export everything needed to observe state events on all rooms using session.observeRoomState
|
||||||
export type {RoomStateHandler} from "./matrix/room/state/types";
|
export type {RoomStateHandler} from "./matrix/room/state/types";
|
||||||
export type {MemberChange} from "./matrix/room/members/RoomMember";
|
export type {MemberChange} from "./matrix/room/members/RoomMember";
|
||||||
|
@ -62,11 +62,8 @@ interface ClientConfig {
|
|||||||
|
|
||||||
// These are statically configured OIDC client IDs for particular issuers:
|
// These are statically configured OIDC client IDs for particular issuers:
|
||||||
const clientIds: Record<IssuerUri, ClientConfig> = {
|
const clientIds: Record<IssuerUri, ClientConfig> = {
|
||||||
"https://dev-6525741.okta.com/": {
|
"https://id.thirdroom.io/realms/thirdroom/": {
|
||||||
client_id: "0oa5x44w64wpNsxi45d7",
|
client_id: "thirdroom"
|
||||||
},
|
|
||||||
"https://keycloak-oidc.lab.element.dev/realms/master/": {
|
|
||||||
client_id: "hydrogen-oidc-playground"
|
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user