diff options
| author | jwijenbergh <jeroenwijenbergh@protonmail.com> | 2024-07-08 12:51:41 +0200 |
|---|---|---|
| committer | Jeroen Wijenbergh <46386452+jwijenbergh@users.noreply.github.com> | 2024-07-17 14:00:03 +0000 |
| commit | 8c01291b23cb2fb11d4e4794b6f7369b13d3c840 (patch) | |
| tree | 6b7c3d2b211eb844ef7002c1b7a224a1db9ab9fe | |
| parent | 744f8a5a7cbb1148c57975834bd406f67765bf8d (diff) | |
API: Pass user agent to OAuth library
eduoauth-go 1.1.0 feature
| -rw-r--r-- | internal/api/api.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/internal/api/api.go b/internal/api/api.go index 6cba35c..e9904bd 100644 --- a/internal/api/api.go +++ b/internal/api/api.go @@ -82,6 +82,7 @@ func NewAPI(ctx context.Context, clientID string, sd ServerData, cb Callbacks, t cb.TokensUpdated(sd.ID, sd.Type, tok) }, Transport: sd.Transport, + UserAgent: httpw.UserAgent, } if tokens != nil { |
