In unit tests I'm running a dummy server to mock the web push endpoint but running into problems with vapid being too strict about how the aud endpoint looks.
This permits http://localhost:1234 as the aud endpoint. This is no less secure since the current check accepts 127.0.0.1 which is equivalent.
In unit tests I'm running a dummy server to mock the web push endpoint but running into problems with vapid being too strict about how the
aud
endpoint looks.This permits
http://localhost:1234
as theaud
endpoint. This is no less secure since the current check accepts127.0.0.1
which is equivalent.Also test against modern python.