mirror of
https://github.com/Stremio/stremio-web.git
synced 2026-04-21 11:42:05 +00:00
Revert "fix(useapplelogin): remove state signin"
This reverts commit e454cecc45.
This commit is contained in:
parent
e454cecc45
commit
52dc7722ad
2 changed files with 2 additions and 0 deletions
|
|
@ -48,6 +48,7 @@ const useAppleLogin = (): [() => Promise<AppleLoginResponse>, () => void] => {
|
||||||
clientId: CLIENT_ID,
|
clientId: CLIENT_ID,
|
||||||
scope: 'name email',
|
scope: 'name email',
|
||||||
redirectURI: 'https://stremio.github.io/stremio-web/feat/example-apple-login/',
|
redirectURI: 'https://stremio.github.io/stremio-web/feat/example-apple-login/',
|
||||||
|
state: 'signin',
|
||||||
usePopup: true,
|
usePopup: true,
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
||||||
1
src/types/global.d.ts
vendored
1
src/types/global.d.ts
vendored
|
|
@ -33,6 +33,7 @@ declare global {
|
||||||
clientId: string;
|
clientId: string;
|
||||||
scope: string;
|
scope: string;
|
||||||
redirectURI: string;
|
redirectURI: string;
|
||||||
|
state: string;
|
||||||
usePopup: boolean;
|
usePopup: boolean;
|
||||||
}) => void;
|
}) => void;
|
||||||
signIn: () => Promise<{
|
signIn: () => Promise<{
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue