Community
Question about Oauth2 implementation details
almost 4 years ago by Mihail Krastev
Hi,
Currently I am using Samsara Legacy API. The authorization logic atm is using the api key.
But I saw, that there is oaut2 mention. We prefer to use oauth2 based authorizations, to add additional level of security - using static api key is not as secure as oaut2.
So, for Oauth2 related info I see in the docs: https://www.samsara.com/api-legacy#section/Authentication/OAuth2 just that table.
From where can we get more info, about:
- how it must be implemented
- do we need to create app, which will be installed per client, with permissions .. etc
- what are the possible scopes
- possible examples, for:
- authorization, eg initiall "install" request
- refresh /get new token pairs/