You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add a new -AsJWT switch to New-PodeAuthScheme for Bearer and API key authentications.
This will work in a similar fashion to the new -AsCredential, where if -AsJWT is supplied, then Pode will attempt to parse the token/key as a JWT, and then pass that object to Add-PodeAuth instead of the token/key:
Add a new
-AsJWT
switch toNew-PodeAuthScheme
for Bearer and API key authentications.This will work in a similar fashion to the new
-AsCredential
, where if-AsJWT
is supplied, then Pode will attempt to parse the token/key as a JWT, and then pass that object toAdd-PodeAuth
instead of the token/key:Bearer:
ApiKey:
If the token/key fails to parse as a valid JWT, a 400 should be returned.
The text was updated successfully, but these errors were encountered: