unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* [ELPA/oauth2] Sometimes oauth2-refresh-access does not work correctly
@ 2021-11-17 14:36 Aleksandr Vityazev
  0 siblings, 0 replies; only message in thread
From: Aleksandr Vityazev @ 2021-11-17 14:36 UTC (permalink / raw)
  To: emacs-devel, julien

Hello, thank you for maintaining such a wonderful package!

While working on my own package, I found that oauth2 cannot properly
handle the situation where the refresh_token changes every time I
refresh the access. If I use plsore to store the token, I can only
update the token once, and after that I have to delete plstore to get
new access.

Can you add a refresh_token change check to the 'oauth2-refresh-access'
function? And if there are changes, then update the refresh-token and
access-response fields as well as the access-token.

-- 
Best regards,
Aleksandr Vityazev



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-11-17 14:36 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-17 14:36 [ELPA/oauth2] Sometimes oauth2-refresh-access does not work correctly Aleksandr Vityazev

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).