meateam / OSpike

An OAuth2 authorization server supporting OpenID Connect
MIT License
2 stars 0 forks source link

Host validation #72

Closed shakedmanes closed 5 years ago

shakedmanes commented 5 years ago

Details

Adding host validation for requester IP according the hostname of the client. The option for host validation is controlled, through the package.json script in generate-env-[prod/dev/test] argument called -hostValidation (Read more in README.MD file about how to enable it). The usage of host validation can be controlled and not enabled always because of the need to make local tests and changes which won't work properly with host validation.