FIS2425 / authorization-svc

Authorization microservice for medical consultation application. Handles the authorization of users for the entire application
Apache License 2.0
0 stars 0 forks source link

fix: changed req.ip to use x-forwarded-for unless not available #64

Closed AntonioRodriguezRuiz closed 7 hours ago

AntonioRodriguezRuiz commented 10 hours ago

This pull request includes updates to the openapi.yaml file and several JavaScript files to enhance the logging of IP addresses by using the x-forwarded-for header when available. This change ensures that the correct client IP address is logged, even when the application is behind a proxy.

Updates to IP address logging:

Miscellaneous update: