mirror of
https://git.sr.ht/~phw/scotty
synced 2025-04-30 13:47:05 +02:00
Autenticate OAuth backends
This commit is contained in:
parent
94704f9cd0
commit
fa7732c538
15 changed files with 61 additions and 20 deletions
|
@ -64,7 +64,7 @@ func TestOAuth2TokenUpdate(t *testing.T) {
|
|||
newToken := oauth2.Token{
|
||||
AccessToken: "thetoken",
|
||||
}
|
||||
err = db.SetOAuth2Token(service, newToken)
|
||||
err = db.SetOAuth2Token(service, &newToken)
|
||||
require.NoError(t, err)
|
||||
|
||||
token, err = db.GetOAuth2Token(service)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue