Our social sign-in stopped returning the user's profile and email — the scopes we have always requested are now rejected
Sign-in with one of the professional social providers has broken. The authorisation request now fails, or succeeds and returns nothing useful, and the scopes we have requested since we built this are being rejected as invalid.
Nothing changed on our side. The application registration is intact and the credentials are valid.
Digging through the provider's documentation, the endpoints I remember using for the profile and the email address appear to have been replaced with something else, and the terminology has changed.
What is the actual migration here, and is there a way to build this so the next provider change is less painful?
@runtime_split_rosa · 2d ago
On step four, worth being specific about how this usually presents: the scopes are rejected with a message about them being invalid or unauthorised, which reads like a typo in your code.
It is not. The provider means your application is not approved for that scope. Some of these require enabling a specific product on the registration, and a few require review before the identity scopes are granted at all.
So before rewriting anything, log into the developer console and look at what the application is currently entitled to. Ten minutes there can save a day of debugging code that is already correct.
And if a review is required, start it immediately — it is the long pole, and everything else is a couple of hours.
Reply
Report