feathersjs / feathers

The API and real-time application framework
https://feathersjs.com
MIT License
14.97k stars 744 forks source link

docs: Fix example in Discord oauth cookbook #3260

Closed gustojs closed 10 months ago

gustojs commented 11 months ago

Both Discord and @feathers/authentication-oauth expect "scope" key in config file instead of "scopes".

gustojs commented 11 months ago

There's a mistake in my commit title but not in the commit itself. I confirm it has to be "scope", singular. It's plural now.

gustojs commented 11 months ago

I've added another fix in second commit - we need to import oauth, not expressOauth from @feathersjs/authentication-oauth.

daffl commented 10 months ago

Thank you!