Can anyone please tell me what is the correct way to add sign in with apple?

Thank You Very Much ,it solved the invalid client Id problem but now I get another problem the registration does complete , I checked the log file and I found this error:

[user None] [ip {ip}] [middleware.py:40] - Session value state missing.