matrix-org / matrix-user-verification-service

Service to verify details of a user based on a Open ID token.
Other
22 stars 21 forks source link

Ensure any axios requests also run the blacklist code for any redirects #12

Closed jaywink closed 3 years ago

jaywink commented 3 years ago

Wrap axios.get in our own function with logic to check each redirect again the domain blacklist code.

To keep code more simple, do this consistently for all axios requests, even if calling the configured homeserver.

Moves the isDomainBlacklisted to utils.js.