Re:Run your own OAuth2 server
by machete143 on Monday September 04, 2017 @10:06AM
(#15168277)
Yes indeed, running OAuth2 without https is madness!
It's not just madness, TLS is a MUST in several places in the oauth2 spec.
In fact, they managed to remove a lot of oauth1 madness (all the complex signing stuff) by simply requiring TLS and let that layer deal with it.
I've also seen discussion on an official OAuth2 server plugin, what with the rapid increase of https sites, thanks to the likes of LetsEncrypt.
There's a well supported OAuth2.0 server plugin here: https://en-gb.wordpress.org/plugins/oauth2-provider/
But you'd be wise to only run it via https.