CyberNinjas / pam_aad

Azure Active Directory PAM Module
GNU General Public License v3.0
54 stars 19 forks source link

Allowed configurable forced IP match between azure claims token and user logging in. #3

Open SJCaldwell opened 7 years ago

SJCaldwell commented 7 years ago

Allow configuration option for additional check. Currently, the token is validated and the claimed username is tested against the actual username.

An additional option could be set, forcing the IP addresses of the user logging in to match the IP address on the token. I know that the IP of the user logging in is logged, but I'm not certain how to access it programmatically.