<feed xmlns='http://www.w3.org/2005/Atom'>
<title>eduvpn-common/internal/oauth/token.go, branch 1.1.2</title>
<subtitle>Fork of codeberg.org/eduVPN/eduvpn-common for &lt;b&gt;reasons&lt;/b&gt;</subtitle>
<id>https://herkulessi.de/git/eduvpn-common/atom?h=1.1.2</id>
<link rel='self' href='https://herkulessi.de/git/eduvpn-common/atom?h=1.1.2'/>
<link rel='alternate' type='text/html' href='https://herkulessi.de/git/eduvpn-common/'/>
<updated>2023-04-18T12:05:19Z</updated>
<entry>
<title>OAuth Token: Set previous refresh token if new refresh token is empty</title>
<updated>2023-04-18T12:05:19Z</updated>
<author>
<name>jwijenbergh</name>
<email>jeroenwijenbergh@protonmail.com</email>
</author>
<published>2023-04-17T09:31:52Z</published>
<link rel='alternate' type='text/html' href='https://herkulessi.de/git/eduvpn-common/commit/?id=0216a88ff88cf600083eaf64bbf98c373bc376a4'/>
<id>urn:sha1:0216a88ff88cf600083eaf64bbf98c373bc376a4</id>
<content type='text'>
This is for 2.x servers that return an empty refresh token after refreshing
</content>
</entry>
<entry>
<title>Format: Run black and gofumpt</title>
<updated>2023-02-28T23:35:39Z</updated>
<author>
<name>jwijenbergh</name>
<email>jeroenwijenbergh@protonmail.com</email>
</author>
<published>2023-02-28T23:35:39Z</published>
<link rel='alternate' type='text/html' href='https://herkulessi.de/git/eduvpn-common/commit/?id=b0236124fb328f5d1e863f3c76e6d57273519a15'/>
<id>urn:sha1:b0236124fb328f5d1e863f3c76e6d57273519a15</id>
<content type='text'>
</content>
</entry>
<entry>
<title>API + OAuth: Add some debug logging for tokens</title>
<updated>2023-02-28T11:04:27Z</updated>
<author>
<name>jwijenbergh</name>
<email>jeroenwijenbergh@protonmail.com</email>
</author>
<published>2023-02-28T11:04:27Z</published>
<link rel='alternate' type='text/html' href='https://herkulessi.de/git/eduvpn-common/commit/?id=b82ecd11c1a0e33409c8118d2acd0961f0a6cfa7'/>
<id>urn:sha1:b82ecd11c1a0e33409c8118d2acd0961f0a6cfa7</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Format: Run gofumpt</title>
<updated>2023-01-03T11:39:38Z</updated>
<author>
<name>jwijenbergh</name>
<email>jeroenwijenbergh@protonmail.com</email>
</author>
<published>2023-01-03T11:39:38Z</published>
<link rel='alternate' type='text/html' href='https://herkulessi.de/git/eduvpn-common/commit/?id=41d0cc72044244b630d12548b046996e5006eb3e'/>
<id>urn:sha1:41d0cc72044244b630d12548b046996e5006eb3e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Exports + OAuth + Server: Forward tokens to getting a config</title>
<updated>2022-12-21T17:28:50Z</updated>
<author>
<name>jwijenbergh</name>
<email>jeroenwijenbergh@protonmail.com</email>
</author>
<published>2022-12-20T14:43:55Z</published>
<link rel='alternate' type='text/html' href='https://herkulessi.de/git/eduvpn-common/commit/?id=12838c19514459974cf0a71c42f1248b1cb9419c'/>
<id>urn:sha1:12838c19514459974cf0a71c42f1248b1cb9419c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>OAuth: Use a mutex to protect the token structure</title>
<updated>2022-12-21T17:27:33Z</updated>
<author>
<name>jwijenbergh</name>
<email>jeroenwijenbergh@protonmail.com</email>
</author>
<published>2022-12-15T12:43:55Z</published>
<link rel='alternate' type='text/html' href='https://herkulessi.de/git/eduvpn-common/commit/?id=0357b97b15c62147557b49cd50ee690aba93c06d'/>
<id>urn:sha1:0357b97b15c62147557b49cd50ee690aba93c06d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>OAuth: Minor style changes</title>
<updated>2022-12-12T12:39:20Z</updated>
<author>
<name>jwijenbergh</name>
<email>jeroenwijenbergh@protonmail.com</email>
</author>
<published>2022-12-12T12:22:02Z</published>
<link rel='alternate' type='text/html' href='https://herkulessi.de/git/eduvpn-common/commit/?id=a8a2436975da7f8b8319da21f1ca3d93ebff08e8'/>
<id>urn:sha1:a8a2436975da7f8b8319da21f1ca3d93ebff08e8</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Formatting: Run gofumpt -w</title>
<updated>2022-11-28T13:29:12Z</updated>
<author>
<name>jwijenbergh</name>
<email>jeroenwijenbergh@protonmail.com</email>
</author>
<published>2022-11-28T13:29:12Z</published>
<link rel='alternate' type='text/html' href='https://herkulessi.de/git/eduvpn-common/commit/?id=0bfb35520d7e138e6219e550187e0b55bc8a29ac'/>
<id>urn:sha1:0bfb35520d7e138e6219e550187e0b55bc8a29ac</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Refactor: Fix revive linter errors by deleting redundant prefixes</title>
<updated>2022-11-28T13:12:48Z</updated>
<author>
<name>jwijenbergh</name>
<email>jeroenwijenbergh@protonmail.com</email>
</author>
<published>2022-11-28T13:09:28Z</published>
<link rel='alternate' type='text/html' href='https://herkulessi.de/git/eduvpn-common/commit/?id=59e6ccd051452162fab852a25deb4f0f8a9e22b2'/>
<id>urn:sha1:59e6ccd051452162fab852a25deb4f0f8a9e22b2</id>
<content type='text'>
</content>
</entry>
<entry>
<title>OAuth: Refactor Token getting and do not save them in the config</title>
<updated>2022-11-28T12:50:02Z</updated>
<author>
<name>jwijenbergh</name>
<email>jeroenwijenbergh@protonmail.com</email>
</author>
<published>2022-11-28T12:28:27Z</published>
<link rel='alternate' type='text/html' href='https://herkulessi.de/git/eduvpn-common/commit/?id=279c0de75629de5868c3ac1b3272a2850e6b62f7'/>
<id>urn:sha1:279c0de75629de5868c3ac1b3272a2850e6b62f7</id>
<content type='text'>
This commit refactors getting the tokens into receiver methods. This
means that functions do not have to call the cryptic "EnsureTokens"
method. The receiver getter then already verifier whether or not the
tokens could be obtained (and refreshes too). The downside is that
some things are now private, so testing for invalid tokens needs to be
done somewhere else.

This needs another patch such that clients can save the tokens
themselves using a keyring.
</content>
</entry>
</feed>
