Supabase Apple Provider
Has anyone successfully integrated the Apple Login with Supabase into Toddle ? I was successfull with Google already and thought Apple is equaly easy . However , when I get redirected back to my toddle Site I get : { "component " : "api " , "error " : "oauth2 : cannot fetch token : 400 Bad Request \nResponse : { "error " : "invalid _client " } " , "level " : "error " , "method " : "POST " , "msg " : "500 : Unable to exchange external code : xxxxxxxxxxxxxxx " , "path " : " /callback " , "referer " : " https://website.com/dashboard","remote_addr":"xx.xx.xxx.xx","time":"2024-03-12T08:42:49Z","timestamp":"2024-03-12T08:42:48Z"%7D In the Supabase AUTH Logs What can be the problem here ? I already checked for leading /trailing spaces in the Oauth config The Secret Key is checked by Supabase , they only allow a valid JWT so trailing /leading spaces are already detected . If I change the Service ID to anything else then what I currently have , the process breaks even further and I cant even insert my login details - so this suggests the Service ID is correct . The only thing left would be that I submit the wrong Secret Key . I am not sure but it looks like you need to use this generator to create the secret : https://supabase.com/docs/guides/auth/social-login/auth-apple#generate-a-client_secret But everyone has different labels for individual IDs of Apples stuff , so I assume I use the wrong things in this secret generator . Can anyone point out to me what I have to put in where ( maybe with some blured screenshots of the Apple Developers page ? ) so I can try to replicate ? Authorized Client IDs is left empty on the Provider config at the moment . I was able to get it to work following this tutorial : https://www.youtube.com/watch?v=6I2JEky20ME And creating the secret manually rather then over the supabase docs - not sure why but I wont mess with it as long as it works . 😍1
.jpeg/public)