Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
272b099
change how we store credentials to also support storing the oauth grant
gabrielmfern Jun 5, 2026
92f4daa
add support for resolving the oauth grant as well as the api key
gabrielmfern Jun 5, 2026
b45aab1
add proper login with oauth
gabrielmfern Jun 5, 2026
b4d1e20
ensure server is closed once auth is done
gabrielmfern Jun 5, 2026
5de0c67
use RESEND_BASE_URL env var for OAuth instead of hardcoded URL
gabrielmfern Jun 5, 2026
3c58879
fix doctor showing error when using an oauth grant
gabrielmfern Jun 5, 2026
8c1dbcd
lint
gabrielmfern Jun 5, 2026
72bc0d7
avoid nullish check
gabrielmfern Jun 5, 2026
7761f54
assume refresh token expiry time is always returned
gabrielmfern Jun 5, 2026
d388eaf
don't refresh expired access token in whoami command
gabrielmfern Jun 5, 2026
44ef38f
improve scope treatment for oauth
gabrielmfern Jun 5, 2026
54cc60b
ensure deletion of overwritten secure credential
gabrielmfern Jun 5, 2026
eca6c2f
validate JWT structure before reading exp claim
dielduarte Jun 25, 2026
43a8d0d
validate /oauth/token response schema before trusting it
dielduarte Jun 25, 2026
33b6027
add timeouts to OAuth token requests
dielduarte Jun 25, 2026
2c725df
show a failure page on OAuth callback errors
dielduarte Jun 25, 2026
f02daa4
store OAuth grant secrets in secure storage, not plaintext
dielduarte Jun 25, 2026
5bf3c36
validate OAuth grant shape when reading credentials.json
dielduarte Jun 25, 2026
53b8c7e
handle OAuth refresh failures gracefully in doctor
dielduarte Jun 25, 2026
3a6efb1
clarify whoami credential labeling for OAuth grants
dielduarte Jun 25, 2026
e53339f
degrade gracefully on partial OAuth grants instead of bricking the file
dielduarte Jun 25, 2026
3f19761
fix: don't depend on a refresh-token expiry the server never returns
dielduarte Jun 25, 2026
c2ec909
trim OAuth comments to explain why, not what
dielduarte Jun 25, 2026
9d03a32
replace nested label ternaries in whoami with lookup maps
dielduarte Jun 25, 2026
31f0a40
set storage:'file' explicitly when OAuth grant falls back to inline
dielduarte Jun 25, 2026
e5969af
roll back keychain secret if the OAuth metadata write fails
dielduarte Jun 25, 2026
7da13cf
treat transient refresh failures as warnings in doctor
dielduarte Jun 25, 2026
df11d13
fix biome formatting and restore leaked fetch spy in doctor tests
dielduarte Jun 25, 2026
d9aa092
hint the user what to do when key is not saved in a secure backend, a…
dielduarte Jun 26, 2026
f1d9b9b
avoids oauth callback handling prematurely
dielduarte Jun 26, 2026
b67e846
add some leeway before refreshing the token to avoid premature blocks
dielduarte Jun 26, 2026
ae07a43
inject storage type and resolve correctly when asked about via whoami…
dielduarte Jun 26, 2026
0422bab
fix do not bypass doctor and actually perform the check
dielduarte Jun 26, 2026
40784ed
blocks an oauth grant whose scope maps to unknown permission
dielduarte Jun 26, 2026
43fc2d1
fix cubic comments
dielduarte Jun 26, 2026
9972848
chore: preview 2.7.0-preview.0
dielduarte Jun 26, 2026
f33a9f3
feat(oauth): style the login callback page (#337)
dielduarte Jun 26, 2026
1613285
2.7.0-preview.1
dielduarte Jun 26, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "resend-cli",
"version": "2.6.0",
"version": "2.7.0-preview.1",
"description": "The official CLI for Resend",
"license": "MIT",
"repository": {
Expand Down
Loading
Loading