Hey Community… quick question… Is it possible to d...
# help
c
Hey Community… quick question… Is it possible to do service to service (i.e. no end usrer) OAUTH2 authentication using sst currently?
t
You can do that using cognito, Manually get the refresh token and use it to request an access token that can be used to authenticate requests. Store the refresh token in secrets manager for safe keeping
c
Thanks Thomas, I’ll give that a try
f
Thanks @Thomas Ankcorn! This is some advanced stuff 😅
t
shout if you need a hand with the Cognito config or oauth dance to get the refresh token. AWS make this unnecessarily difficult.