Skip to content

Commit

Permalink
feat: change refreshToken()'s grant_type to "refresh_token" (#31)
Browse files Browse the repository at this point in the history
Co-authored-by: a.glagolev <[email protected]>
  • Loading branch information
Deltenman and a.glagolev authored Sep 28, 2023
1 parent 469071a commit 4cfea56
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/casdoor.dart
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ class Casdoor {
path: "api/login/oauth/refresh_token",
),
body: {
'grant_type': 'authorization_code',
'grant_type': 'refresh_token',
'refresh_token': refreshToken,
'scope': scope,
'client_id': config.clientId,
Expand Down

0 comments on commit 4cfea56

Please sign in to comment.