You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using vue.js with Statamic Pro and I need authentication to connect to a third party "Form Assembly" API so I can use get requests to pull in forms into my Statamic website.
However, I need to authenticate firstly with their API using oauth 2.0 and i'm not sure which way to go about it.
Once Authenticated I need to just pick up the token and add it to my requests.
Should I use the statamic oauth service, laravel passport or use vue.js for the login and token requests?
All of which should just be able to store the token for me in order to just pick it up and send it once authenticated. Have'nt done much auth before so i'm not sure which way to go.
If I use Statamic how can I get to the token? Is it stored in localStorage?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
I'm using
vue.js
withStatamic Pro
and I need authentication to connect to a third party "Form Assembly" API so I can use get requests to pull in forms into myStatamic
website.However, I need to authenticate firstly with their API using
oauth 2.0
and i'm not sure which way to go about it.Once Authenticated I need to just pick up the token and add it to my requests.
Should I use the
statamic
oauth service,laravel passport
or usevue.js
for the login and token requests?All of which should just be able to store the token for me in order to just pick it up and send it once authenticated. Have'nt done much auth before so i'm not sure which way to go.
If I use
Statamic
how can I get to the token? Is it stored inlocalStorage
?Beta Was this translation helpful? Give feedback.
All reactions