Getting client_secret for Sign in with Apple

Hi Team, I am working on integrating Sign in with Apple. I have created an app at the apple developer portal. I am able to log in to apple via pop-up and getting the following in response from the app. authorization: code: "c360..." id_token: "eyJra...."

Please let me know how to use the above so that I can get user details ie name, email, and other required things. I need to create a user account and then let him sign in on my website - eyewa.com

I am reading this article for above - https://developer.apple.com/documentation/sign_in_with_apple/generate_and_validate_tokens#http-body

But i don't know how to generate client_secret using JWT. Please help.

Thanks Vaseem Ansari

Getting client_secret for Sign in with Apple
 
 
Q