Closed thinkst-pieter closed 1 month ago
This adds the IP to the canarydrop from which the request came to create the canary token. Testing was also expanded to test for the headers.
The created_from_ip and created_from_ip_x_forwarded_for are optional as to not break existing tokens that do not already have the information.
created_from_ip
created_from_ip_x_forwarded_for
pre-commit
Proposed changes
This adds the IP to the canarydrop from which the request came to create the canary token. Testing was also expanded to test for the headers.
The
created_from_ip
andcreated_from_ip_x_forwarded_for
are optional as to not break existing tokens that do not already have the information.Types of changes
Checklist
pre-commit
in the repo)