setup oidc for thirdroom

This commit is contained in:
Ajay Bura 2022-08-10 19:53:18 +05:30
parent 220ddc7175
commit 7ba2f26624
2 changed files with 4 additions and 5 deletions

View File

@ -23,6 +23,8 @@ export {Client, LoadStatus, LoginFailure} from "./matrix/Client.js";
export {RoomStatus} from "./matrix/room/common";
export {AttachmentUpload} from "./matrix/room/AttachmentUpload";
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 type {RoomStateHandler} from "./matrix/room/state/types";
export type {MemberChange} from "./matrix/room/members/RoomMember";

View File

@ -62,11 +62,8 @@ interface ClientConfig {
// These are statically configured OIDC client IDs for particular issuers:
const clientIds: Record<IssuerUri, ClientConfig> = {
"https://dev-6525741.okta.com/": {
client_id: "0oa5x44w64wpNsxi45d7",
},
"https://keycloak-oidc.lab.element.dev/realms/master/": {
client_id: "hydrogen-oidc-playground"
"https://id.thirdroom.io/realms/thirdroom/": {
client_id: "thirdroom"
},
};