safe-global / safe-client-gateway

Serves as a bridge for the Safe{Wallet} clients (Android, iOS, Web)
https://docs.safe.global
MIT License
27 stars 64 forks source link

chore: pass algorithm to jwt sign as an option in push notifications #2105

Closed PooyaRaki closed 1 week ago

PooyaRaki commented 1 week ago

Summary

This PR addresses an issue with the algorithm parameter in the JWT signing process for notifications and updates the structure of the notification payload. Previously, the algorithm was passed in an incorrect position, which caused unintended behavior in token generation. This update moves the algorithm parameter to the correct location, ensuring that tokens are signed with the intended algorithm.

Changes