Skip to content
This repository has been archived by the owner on Feb 2, 2023. It is now read-only.

Not using token #3

Open
orxobo opened this issue Jul 19, 2022 · 0 comments
Open

Not using token #3

orxobo opened this issue Jul 19, 2022 · 0 comments

Comments

@orxobo
Copy link

orxobo commented Jul 19, 2022

You seem to be sending:
base64.StdEncoding.EncodeToString([]byte( fmt.Sprintf("Basic %s:%s", s.config.ClientID, s.config.ClientSecret)
for each call to the API by adding it to the header from getAuthorisationHeader() for each call.
Is that necessary as the token is automatically sent with the http.Client?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant