The frontend will now be an OAuth app, auto-authorized. The frontend will use an access token for API requests
Adding better errors for the API controllers, posting a simple status works from the frontend now
This commit is contained in:
8
app/assets/javascripts/components/actions/meta.jsx
Normal file
8
app/assets/javascripts/components/actions/meta.jsx
Normal file
@@ -0,0 +1,8 @@
|
||||
export const SET_ACCESS_TOKEN = 'SET_ACCESS_TOKEN';
|
||||
|
||||
export function setAccessToken(token) {
|
||||
return {
|
||||
type: SET_ACCESS_TOKEN,
|
||||
token: token
|
||||
};
|
||||
}
|
Reference in New Issue
Block a user