We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 63dc1da commit 4214416Copy full SHA for 4214416
.changeset/stupid-boats-play.md
@@ -0,0 +1,5 @@
1
+---
2
+"@openauthjs/openauth": patch
3
4
+
5
+allow auth style autodetection
packages/openauth/src/issuer.ts
@@ -830,7 +830,6 @@ export function issuer<
830
400,
831
)
832
}
833
- await Storage.remove(storage, key)
834
if (payload.redirectURI !== form.get("redirect_uri")) {
835
return c.json(
836
{
@@ -879,6 +878,7 @@ export function issuer<
879
878
880
881
const tokens = await generateTokens(c, payload)
+ await Storage.remove(storage, key)
882
return c.json({
883
access_token: tokens.access,
884
expires_in: tokens.expiresIn,
0 commit comments