Forum Academy Marketplace Showcase Pricing Features

๐Ÿ Sign in with Apple - New Plugin from Zeroqode

Much appreciated the update! The plugin is now really fast and allows us to finally benefit from it.

Am I wrong or it is not possible to position two buttons on the same page? I have a SPA and would like to add a Sign In button in the login and the Sign up at launch but the second button keeps being not visible for no reason.

Thank you!

Hello, @haddad.anthony26
Thanks a lot for your feedback! It means a lot for us.

You are right. It is possible to have only one button per application ( it is also noted in the documentation for the plugin).
In case you want to use it twice, the best option is to set the conditions for showing the button in both cases.

Best regards,
Zeroqode Support team

Thank you for your quick reply.
@zerocodesupport
Could you show me an example of making a sign up button become a sign in button when the user already has an account created?

Thanks a lot

Hello, @haddad.anthony26
Thanks for the question.

Unfortunately, we canโ€™t provide you an example of that, button has only one state - Sign In with apple.
You can check on different platforms, that even if you have an account there, after Log Out, the button will be still โ€œSign In with appleโ€.

Best regards,
Zeroqode Support Team

Hello,

How a user is supposed to login then? If the user already has an account and click on the sign up button it just shows the popup account already exist instead of logging inโ€ฆ

Hello, @haddad.anthony26
Thanks for the question.

You can use another type of the button on your side:

When your user has an account and wants to login, you can use โ€œContinueโ€ type of the button and it will look in that way:

Hope it will help you.
Best regards,
Zeroqode Support Team

Please send a screenshot of the conditionals to see how you detect current userโ€™s account is already created

Good afternoon, what is the difference between the sign in and continue button ?

Hello, @swiftle

The difference between these 2 types of buttons is just in UX/UI, not in functionality.
If you use the โ€œContinueโ€ button from the beginning, you donโ€™t need to set any conditions, which will change depending on the โ€œSign in/Loginโ€ pages.
Your user will see this button from the beginning:

In case youโ€™ll have any additional questions, please let me know.
Best regards,
Zeroqode Support Team

Hello, @haddad.anthony26

Please allow us to check the performance of this feature and revert with all required screenshots for you.

Best regards,
Zeroqode Support Team

Hello, @haddad.anthony26

Here you can find a workflow for changing the button dependent on the account presence:

For the button, you can set this condition:

As a result, you will receive this:

Hope that will be helpful for you.
Best regards,
Zeroqode Support Team