oauthjs / express-oauth-server

Complete, compliant and well tested module for implementing an OAuth2 Server/Provider with express in node.js
MIT License
484 stars 384 forks source link

Support other redirect codes #37

Open mjsalinger opened 8 years ago

mjsalinger commented 8 years ago

The OAuth2 spec suggests 302 redirects as the default but allows for any method of redirecting the user agent. Add support for other redirect codes:

301 302 303 307 308