dvillavicencio / riven-bot

Discord Bot for Destiny 2 that retrieves statistics regarding Raid and Dungeon activities through Discord chat
2 stars 0 forks source link

Add WebFlux-based WebFilter to verify Discord interaction's signature #62

Closed dvillavicencio closed 8 months ago

dvillavicencio commented 8 months ago

Since we're no longer going to be using both dependencies spring-boot:web and spring-boot:webflux in the same project (that was an actual mistake that took awhile to figure out), then that means that the src/filter/CachingRequestWrapperFilter will no longer be used to cache the Request Body downstream to and subsequently verify the Discord signature of the interaction.

Now we need to use Netty's WebFilter implementation, and actually use it correctly this time.

Acceptance Criteria We have two options on how to handle this: