Pode icon indicating copy to clipboard operation
Pode copied to clipboard

Support for RS256 with JWT

Open robinmalik opened this issue 10 months ago • 0 comments

Describe the Feature

I'm looking to integrate Pode behind an existing service that has its own authentication layer (certificate based and OAuth 2). The JWTs issued from the authentication endpoint to the client are signed with RS256. but it seems as though Pode doesn't currently support this algorithm.

My understanding is that if this were possible, I'd run a Pode instance with New-PodeAuthScheme -Bearer -AsJWT to setup initial incoming authentication forcing all clients to at least supply a JWT, and then at the route layer I could perform validation on whether or not the passed scopes were valid for the route being requested.

Does this sound viable? 🙏🏻

robinmalik avatar Feb 07 '25 12:02 robinmalik