Services Plugins FAQs

🍏 Sign in with Apple - New Plugin from Zeroqode

Hello. I have a few questions

Question#1: How to get the Apple KEY? I have downloaded a P8 key when I have setup the Service id. Is that this one? But I don’t know how to read this P8 file. Thanks to tell us how to get that KEY
This one has been generated when i have created the API. Shall I use that one?

Question#2: On the API Side, I cannot see the state, code, id_token, user like in your demo
Screen Shot 2021-01-05 at 15.15.16

This is the API I have setup.

Question#3: When I try to do the initialize part I got this error message from Bubble

{“statusCode”:405,“body”:{“status”:“ERROR”,“message”:“Wrong method. Should be a POST. Method may change when attemping to use http. Please ensure URL starts with https:// instead.”}}

I have spent a lot of time trying to make this work. Would it be possible to get support from ZEROCODE on this and organize a quick conference call ASAP?

I can add this email support@zeroqode.com to the App Editor, but I need to explain to someone where to find the APPLE LOGIN Design and Workflows… Who can help me please?

Thanks for your efficient Support

Regards

Pierre

Hi, @Julia

I’ve tried it before and it didn’t worked. I tried it again and copied all steps from your example and it still doesn’t work. Could you check it one more time?

1 Like

Hi, @YuryNB!

So, we have checked your app and log in was successfully was done (please see the test page zq_test) However, the frontend doesn’t see that the login was done, unfortunately.


image

In this case, I’m afraid we can’t help you because it is more related to the bubble itself. Could you please share what bubble version do you use? Also, would be better to reach out to bubble directly and describe this issue. From our side, we are already discussing this situation with the bubble team.

Best, Julia.

Hi, @3whiteshirts!

Thanks for reaching out!

Yes, that API Key is right, the only one thing is to remove “/n” accordingly to the docs: Sign-In with Apple Plugin - Zeroqode Documentation

You’ll see these state as soon as initialize the call in the backend.

Please check the link in the button- Sign in with Apple if it the same as in the backend


And the last thing is, please make sure that in the Dev.Apple account you have added the 3 links URL redirect (please see as a sample).

  1. https://zeroqode-demo-20.bubbleapps.io/version-test/api/1.1/wf/applesingin/initialize
  2. https://zeroqode-demo-20.bubbleapps.io/version-test/api/1.1/wf/applesingin
  3. https://zeroqode-demo-20.bubbleapps.io/api/1.1/wf/applesingin

Please give it another try according to all the tips above. If you’re still facing the troubles, do add our e-mail into your collaboration list in order to check this inside your app. Plus, please tell us the name of your Bubble application and page name where you develop it, it would be way easier for us to help you solve the issues.

Note: avoid the warning message regarding Professional plan, as we are an agency and you can easily add us to your collaborators.

I’m afraid we can only help via the forum, e-mail or our chat.

Best, Julia.

@Julia I have 10 version of bubble.
It’s a shame that you didn’t managed it to work. It is the last task I planned before submitting app to appstore. Without apple signup, I can only offer signup with email which will drastically decrease the conversion rate.
Can you keep me updated about your discussion with bubble team?

Hi, @YuryNB!

We do everything possible, but this does not depend on us, unfortunately. We are doing our best to resolve this. And yes, of course, I’ll notify you as soon as I have the relevant info. Apologies for the inconvenience. :pray:

Best, Julia.

Hi @Julia

Thanks for your help, problem with logging user after signup been solved.

Hi,
I just tested plugin on mobile with BDK native preview launcher and it is working fine. Unregistered user now can sign up and the automatically be logged in.
But I noticed that if user already have an account but currently not logged in, this button can’t log him in. Apple send error “This email is already in use”. I read through docs and didn’t found an answer on how to login registered user if he somehow logged out.


I also just found out another strange behavior. I’ve successfully signed up with apple sign up from 2 different accounts, but I don’t see a new user in the database. It appears on test server, but when I signing up on production it’s not adding new user in the users database. It’s strange since in the app user is signed up and I see user’s email in the interface. I’ve been waiting for few hours and new users didn’t appear. Then I tried to signup with email and new row appeared immediately.

Hi - I’m experiencing an apparent bug with the Sign-In with Apple plugin. I am using 2 different “sign-in with apple” elements in different groups. One element shows up and operates correctly. No matter what I try, the second button is not visible although the inspector says that the element is visible. If I delete the first button (without changing anything else), the second button appears & works correctly. My page: https://app.besties.co/version-test/signin_landing_1 (Instructions: click “Continue with email button” and you can see that the middle button is blank.)

Hello, Guys!

@YuryNB first all I’d like to say that I am so glad that the issue has been solved.

Could you please check if there is a condition in the second step:

Here, could you please verify if you are checking the Live database while testing the Live version? Here how can you switch database in Live:

And if you do check the Live version and still have this issue, then please give it another try and right after that check the logs for errors in the Logs tab- Server Log


@nedbrush thanks for reaching out and apologies for the experience you had with the plugin.
I’ve checked this case, and indeed, one of the button is missing. I’ll transferred this info to the dev team. I’ll get back as soon as I have the relevant info.

Best, Julia.

Hi @Julia

  1. Yes, I have this condition
  2. I fixed the problem with database - I’ve been redirecting on a test url instead of prod, so users appeared in a test db.

So now what is working:

  1. Sign up new user with Apple
  2. User automatically logging in

But if I log out and then try to log in using the same “sign up with apple” button I am being redirected from apple with this parameter in url image
And of course user is not logging in after that.

Also I worried about the time needed for a signup. It’s around 20-30 sec of white screen which is too long for most of the users. Is it possible to show at least some message at this time or to make it at the background?

Hi everyone,
My signup/login buttons are in a reusable element. When I place the Apple Signup button in it I can’t see it nor click on it. I tried to put it in a poup up but I’ve got the same issue.
Any idea of how to make it work.
Here is the video to show you the issue:


Hidden Signin Apple — Watch Video

Hi @remi.f!

Thanks for reaching out!

Yes, that happens because two plugin elements are on the page. Please remove one of them in order to use this button.

Best, Julia.

Hey, @nedbrush!

I am reaching out to notify you, that we have investigated this case, and I’m afraid currently it is possible to use only one button on the page. The button display depends on Apple library which we cannot influence. Apologies for the inconvenience.

Best, Julia.

thanks for your answer

1 Like

No problem at all! :slightly_smiling_face: You are always welcome! :wink:

Hi @Julia

Is there any progress on my case?

Hi, @YuryNB!

It’s been a while, so please accept my sincere apologies for the delay due to workload :pray:
Your case still in progress and now we’re receiving an error and cannot log in. We’re trying to figure this out. Meanwhile, could you please clarify if you did some changes in the Apple Dev or any other changes?

Looking forward to hearing from you!
Best, Julia.

@Julia
I didn’t make any changes on this project since then. The project is ready to launch and the only blocker is signup with apple plugin.

@YuryNB Ok, got it! Doing my best to speed it up!

Hi @Julia

I had to find a way to get rid of apple signup in my app, since I can’t waste more time on that. I’d like to get a refund for the plugin.