ducky/web

Paddy 2015-06-30 Parent:ef386518fa14 Child:313780205e39

12:791aec3eb17b Go to Latest

ducky/web/src/config.js

Update our profile model to use our refresh helper. Update our profile model to send the correct authorization header when making requests, and if the request fails because the OAuth token has expired, try to use the refresh token to obtain a new access token, then retry the request.

History
paddy@0 1 export default {
paddy@10 2 'urlBase': 'http://slightly.local:9000',
paddy@10 3 'clientID': '26c602df-14c9-4c1a-bc7b-025844ea43fa',
paddy@10 4 'clientSecret': 'a438bdcdcf5d2248b43c2f1d304ef8090cdeb3789dadfe834698be4234ed76dd',
paddy@2 5 'stripeKey': 'pk_test_w2jN5rCKL9t9CcMPta2SsX7J',
paddy@0 6 }