diff --git a/deadlock-plugins/deadlock-extension/src/config.prod.ts b/deadlock-plugins/deadlock-extension/src/config.prod.ts new file mode 100644 index 0000000000000000000000000000000000000000..673a63260184b75a905441c0d78ff586c5575277 --- /dev/null +++ b/deadlock-plugins/deadlock-extension/src/config.prod.ts @@ -0,0 +1,4 @@ +export const KEYCLOAK_DEVICE_AUTH_URL = + 'https://auth.deadlock.io/auth/realms/Deadlock/protocol/openid-connect/auth/device'; +export const KEYCLOAK_TOKEN_CREATE_URL = 'https://auth.deadlock.io/auth/realms/Deadlock/protocol/openid-connect/token'; +export const KEYCLOAK_USER_INFO_URL = 'https://auth.deadlock.io/auth/realms/Deadlock/protocol/openid-connect/userinfo'; diff --git a/deadlock-plugins/deadlock-extension/src/config.staging.ts b/deadlock-plugins/deadlock-extension/src/config.staging.ts new file mode 100644 index 0000000000000000000000000000000000000000..7eff9470f5046b8edb6a30dc9d2bedc02efe1a4f --- /dev/null +++ b/deadlock-plugins/deadlock-extension/src/config.staging.ts @@ -0,0 +1,6 @@ +export const KEYCLOAK_DEVICE_AUTH_URL = + 'https://auth.staging.deadlock.io/auth/realms/Deadlock/protocol/openid-connect/auth/device'; +export const KEYCLOAK_TOKEN_CREATE_URL = + 'https://auth.staging.deadlock.io/auth/realms/Deadlock/protocol/openid-connect/token'; +export const KEYCLOAK_USER_INFO_URL = + 'https://auth.staging.deadlock.io/auth/realms/Deadlock/protocol/openid-connect/userinfo'; diff --git a/deadlock-plugins/deadlock-extension/src/view/webviewBase.ts b/deadlock-plugins/deadlock-extension/src/view/webviewBase.ts index 213f99c0c6d1d9ce4648443ebb6db2bf2df71396..67d1e0d3d2960d6556f40c4117592715f754a5ee 100644 --- a/deadlock-plugins/deadlock-extension/src/view/webviewBase.ts +++ b/deadlock-plugins/deadlock-extension/src/view/webviewBase.ts @@ -26,8 +26,6 @@ export function getUri(webview: Webview, extensionUri: Uri, pathList: string[]) export abstract class WebviewBase implements Disposable { protected disposable: Disposable; private _disposablePanel: Disposable | undefined; - - // TODO: Verifier si nécessaire protected _panel: WebviewPanel | undefined; constructor(private id: string, private title: string, command: Command, private readonly _column?: ViewColumn) {