Closed sbellver closed 2 years ago
With the same code, if I use it on web:
Error: "SignInWithApple.Authorize()" is not implemented on web
:'(
it's the same here!
This function is near to work
loginApple() {
const options = {
clientId: 'es.yakk.api',
redirectURI: 'https://api.yakk.es/api/login_apple',
scopes: 'email name',
state: '1231232132141512421',
nonce: 'nonce',
};
return SignInWithApple.authorize(options)
.then((res) => {
console.log(res);
console.log('Apretamos el boton');
return 0;
}).catch((e) => {
console.log(e);
console.log('Nos vamos fuera');
});
},
Now, I push apple signings button and works, ask me about share email and then login.
Next step is confirm password. In this stage it hangs. No logs, simply do nothing.
With last code, I can set user & password, I close this issue and continue on https://github.com/capacitor-community/apple-sign-in/issues/60
Same Problem here. Used Code from @sbellver , but error is still existing
Describe the bug I'm using Capacitor 3 & Quasar Framework (Vue)
To Reproduce
Configure Xcode with Apple Sign In capabilities
Install capacitor plugin (nom install...)
Import to Vue page
import { SignInWithApple, SignInWithAppleResponse, SignInWithAppleOptions, } from '../../../src-capacitor/node_modules/@capacitor-community/apple-sign-in';
Configure options
Add function to login
Then, when I press the button and call the loginApple() I get in Xcode debug :