Skip to content

Commit

Permalink
feat: add note re. update and fix formatting.
Browse files Browse the repository at this point in the history
  • Loading branch information
2e0byo committed Mar 9, 2023
1 parent 60ecf19 commit e21b97e
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions content/post/coding/modern-authentication.md
Original file line number Diff line number Diff line change
Expand Up @@ -196,8 +196,7 @@ cases, in case we ever need to change it. Reading file contents is surprisingly
```lisp
(with-temp-buffer
(insert-file-contents "path/to/file")
(buffer-string)
)
(buffer-string))
```

On the other hand, I don't think I'll be at Durham long enough for them to
Expand All @@ -220,6 +219,13 @@ Google.
In the longer run, the obvious solution is to host one's own email server and
stop worrying about all this.

## Update

I got fed up with holding state in multiple places and wrote
[2e0byo/email](https://github.com/2e0byo/email) to handle getting, updating and
formatting tokens. Since then Thunderbird have moved to a public auth flow and
no longer have a 'secret', so I guess that concern is now moot.

[^1]: A previous version of this post suggested it did, but I had not realised
emacs caches secrets. `(auth-source-forget-all-cached)` will get you back
to a pristine state for testing.

0 comments on commit e21b97e

Please sign in to comment.