Support build-time specified protocol scheme for oidc callback (#29814)

* Support build-time specified protocol scheme for oidc callback

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Iterate

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Iterate

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Iterate

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Add tests

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

---------

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
Michael Telatynski
2025-05-22 11:24:53 +01:00
committed by GitHub
parent bd142412e5
commit f5125ac2b8
3 changed files with 40 additions and 10 deletions

View File

@@ -130,6 +130,11 @@ declare global {
interface Electron {
on(channel: ElectronChannel, listener: (event: Event, ...args: any[]) => void): void;
send(channel: ElectronChannel, ...args: any[]): void;
initialise(): Promise<{
protocol: string;
sessionId: string;
config: IConfigOptions;
}>;
}
interface DesktopCapturerSource {