https://github.com/OhadR/oAuth2-sample/issues/40

related to https://github.com/OhadR/oAuth2-sample/issues/40