ciaranj / connect-auth

Authentication middleware for connect.
MIT License
813 stars 114 forks source link

Change default realm for OAuth to 'oauth' #101

Closed evanp closed 12 years ago

evanp commented 12 years ago

The documentation comment says the default realm is 'oauth', but the default code was setting it to the string 'realm'. To harmonize the two, I used the more descriptive 'oauth'.

evanp commented 12 years ago

Trivial patch, can wait. I don't know of anyone who uses the "realm" in OAuth authentication, anyway.