diff --git a/src/routes/Intro/useAppleLogin.ts b/src/routes/Intro/useAppleLogin.ts index 58c83f127..7d5465838 100644 --- a/src/routes/Intro/useAppleLogin.ts +++ b/src/routes/Intro/useAppleLogin.ts @@ -48,6 +48,7 @@ const useAppleLogin = (): [() => Promise, () => void] => { clientId: CLIENT_ID, scope: 'name email', redirectURI: 'https://stremio.github.io/stremio-web/feat/example-apple-login/', + state: 'signin', usePopup: true, }); diff --git a/src/types/global.d.ts b/src/types/global.d.ts index 5697dc574..e55146e9a 100644 --- a/src/types/global.d.ts +++ b/src/types/global.d.ts @@ -33,6 +33,7 @@ declare global { clientId: string; scope: string; redirectURI: string; + state: string; usePopup: boolean; }) => void; signIn: () => Promise<{