messagebird / csharp-rest-api

This repository contains the open source C# client for MessageBird's REST API.
ISC License
54 stars 60 forks source link

4.x #124

Closed marcelcorso closed 2 years ago

ahmetkocadogan commented 2 years ago

hello @marcelcorso

Is it wise to create an endpoint for JWT validation, which we can post the incoming JWT signature and our access key, and get a true/false result, like if true "yes this request came from us" and no"this request does not come from us" ? If it is logical, this means JWT library dependency can be dropped.

marcelcorso commented 2 years ago

@ahmetkocadogan doing another request to validate the JWT may be too slow. The SDK follows this: https://developers.messagebird.com/api/#verifying-http-requests