even after I have added client id to the django admin but it is still None
Here how I did all
first I created an app in apple developer
second I created a service ID for this app in apple developer
and set the redirection url to ( https://mywebsite/auth/complete/apple-id/)
finally I generated a private .p8 key from apple developer website
I copied the service id identifier as client id and private key admin as secret key to django
What version of edx-platform are you working with? I believe the apple-id social-auth backend is working in both koa and lilac.
I don’t think we have public documentation on how to do the setup. Theoretically, the configuration should be independent of Open edX, but I suppose there could be something particular to it.
if everything is correct then I believe the problem must be within the apple id authentication file on the open EdX server ( I did not change anything)
If I recall correctly, the AUDIENCE field should have only needed App ID, but we also had to add Service ID to make it work. I don’t recall why. Also bear in mind that we’re using a fork of the python social auth package’s apple-id code.
I think I then used https://__LMS__/auth/login/apple-id/ (has to match Slug setting) to initiate the flow during testing, before toggling the “Visible” checkbox.
If you could give this a try and report back either way, we can figure out where to document it – which might be on the Open edX side or the python-social-auth side.
Just be aware that Apple ID encourages users to select the “private email relay” option, which can cause problems during setup; for login or account recovery, they may be locked out until they realize they need to use the relay email address for login rather than their regular address. (I don’t think it would cause any trouble if they use their username, though.)
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.