@ozdao/prometheus-framework 0.1.4 → 0.1.5
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/auth.client.cjs +7 -7
- package/dist/auth.client.js +149 -150
- package/package.json +1 -1
- package/src/modules/auth/components/pages/SignIn.vue +6 -11
package/package.json
CHANGED
@@ -167,18 +167,13 @@ const initAppleSignIn = () => {
|
|
167
167
|
return;
|
168
168
|
}
|
169
169
|
|
170
|
-
let scope = 'email'; // Укажите необходимые scope
|
171
|
-
let state = '123';
|
172
|
-
let usePopup = true; // Использовать попап или нет
|
173
|
-
|
174
170
|
window.AppleID.auth.init({
|
175
|
-
clientId,
|
176
|
-
scope,
|
177
|
-
redirectURI,
|
178
|
-
state,
|
179
|
-
usePopup
|
180
|
-
})
|
181
|
-
|
171
|
+
clientId: clientId,
|
172
|
+
scope: 'name email',
|
173
|
+
redirectURI: redirectURI,
|
174
|
+
state: 'lilylsunisabigsb',
|
175
|
+
usePopup: true,
|
176
|
+
})
|
182
177
|
document.addEventListener('AppleIDSignInOnSuccess', callOnSuccess);
|
183
178
|
document.addEventListener('AppleIDSignInOnFailure', callOnFailure);
|
184
179
|
};
|