Thanks for this method, I had to use this approach with providers-registry.js too because the one described by @haysclark didn’t work for me (it logged the console.log('My Auth0') meaning it was reaching this part, but then it gave me an error). It’s a pity since I liked this aproach more.
If using this approach, the strapi logs showed:
/api/connect/auth0/callback?code=XXX (863 ms) 302
And if using the overwriting the providers-registry.js service approach, the logs look like this:
/api/auth/auth0/callback?id_token=ID_TOKEN&access_token=ACCESS_TOKEN&raw%5Baccess_token%5D=ACCESS_TOKEN&raw%5Bid_token%5D=ID_TOKEN&raw%5Bscope%5D=openid%20profile%20email&raw%5Bexpires_in%5D=86400&raw%5Btoken_type%5D=Bearer (824 ms) 200
I am using latest strapi version v4.11.1.