diff --git a/web/src/context/oauth/index.ts b/web/src/context/oauth/index.ts index c9eeab7..bea1a81 100644 --- a/web/src/context/oauth/index.ts +++ b/web/src/context/oauth/index.ts @@ -13,6 +13,7 @@ interface OAuthContextValues { setScope: (scopes: string[]) => void; setState: (state: string) => void; setNonce: (nonce: string) => void; + selectSession: (token: string) => Promise; } export const OAuthContext = createContext({ @@ -28,6 +29,7 @@ export const OAuthContext = createContext({ setScope: () => {}, setState: () => {}, setNonce: () => {}, + selectSession: async () => {}, }); export const useOAuthContext = () => useContext(OAuthContext);