We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Description Pode’s JWT authentication should be expanded to fully comply with [RFC 7518: JSON Web Algorithms (JWA)](https://datatracker.ietf.org/doc/html/rfc7518), allowing Pode to support a wider range of JWT signing and verification algorithms.
NONE
HS256
HS384
HS512
RS256
RS384
RS512
PS256
PS384
PS512
ES256
ES384
ES512
-PrivateKey
$privateKey = Get-Content 'C:\\path\\to\\private-key.pem' -Raw | ConvertTo-SecureString -AsPlainText -Force New-PodeAuthScheme -Bearer -AsJWT -PrivateKey $privateKey | Add-PodeAuth -Name 'JWTAuth' -Sessionless -ScriptBlock { param($payload) Write-Output "Authenticated user: $($payload.sub)" }
-IgnoreSignature
exp
nbf
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Description
Pode’s JWT authentication should be expanded to fully comply with [RFC 7518: JSON Web Algorithms (JWA)](https://datatracker.ietf.org/doc/html/rfc7518), allowing Pode to support a wider range of JWT signing and verification algorithms.
Proposed Enhancements
NONE
,HS256
,HS384
,HS512
(HMAC)RS256
,RS384
,RS512
(RSA)PS256
,PS384
,PS512
(RSA-PSS)ES256
,ES384
,ES512
(ECDSA)-PrivateKey
parameter:-IgnoreSignature
parameter).exp
) and not-before (nbf
) claims.Why This is Needed
References
The text was updated successfully, but these errors were encountered: