Hello,I'm trying to implement Sign In with Apple on my website. Currently I got this error: Your request could not be completed due to an error. Try again later.You can check this here: https://hanashi.dev/apple/I tested it with Apple JS and with the code example from this Git repository: https://github.com/aaronpk/sign-in-with-apple-exampleI don't know what is wrong. Please help.kind regardsPeter
Hello, I would send POST data to the Sign In with Apple REST API, but corrently I got the error 403 Forbidden on my server. If i test it with curl in the terminal, it works.Here is the php code for this:$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, 'https://appleid.apple.com/auth/token');
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($myArray));
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$serverOutput = curl_exec($ch);
if(curl_exec($ch) === false)
{
echo 'Curl error: ' . curl_error($ch);
}
curl_close ($ch);
print_r($serverOutput);I got http code 403 by apple server. What is wrong?
Post not yet marked as solved
Is there an simple way to use the UISplitViewController with SwiftUI?
Currently I use a NavigationView. The problem is, that the ListView on the left only shows in landscape mode and not in portrait mode.
This is the example of my code:
import SwiftUI
struct ContentView: View {
		var body: some View {
				NavigationView {
						ListView()
						DetailView()
			}.navigationViewStyle(DoubleColumnNavigationViewStyle())
		}
}
struct ContentView_Previews: PreviewProvider {
		static var previews: some View {
				ContentView()
		}
}
struct ListView: View {
		var body: some View {
				List(0 ..< 5) { item in
						NavigationLink(destination: DetailView()) {
								Text("List Item")
						}
				}
				.navigationTitle("My List")
		}
}
struct DetailView: View {
		var body: some View {
				Text("Hallo")
		}
}
I tested it with a padding after navigationViewStyle but the List View only displays in landscape mode.
Post not yet marked as solved
Hello,I made this tutorial to implement Sign In with Apple on my page: https://developer.okta.com/blog/2019/06/04/what-the-heck-is-sign-in-with-appleBut actually I got "invalid_client" from the apple server. You could test it here: https://hanashi.dev/apple/What do I wrong?kind regardsPeter
Post not yet marked as solved
Hello,I would use Sign In with Apple on my Homepage. Now I have one question and a problem:Where can I find the Client ID. In documentation is a hint for this: "The developer’s client identifier, as provided by WWDR. You must obtain a client identifier from WWDR before you can use Sign In with Apple." But where can I find this?I tested the identifier of the app id and the identifier of the service id, but I got this error: AUTH_ALERT_SIGN_UP_NOT_COMPLETED.Thanks for your help.kind regardsPeter