This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
In particular BlackMamba.GuardianSerializer is never being called. Same for LoadResource in router. | |
GUARDIAN_SECRET has the same value as AUTH0_CLIENT_SECRET | |
config.ex | |
config :guardian, Guardian, | |
5 allowed_algos: ["HS256"], | |
4 verify_module: Guardian.JWT, | |
3 issuer: System.get_env("AUTH0_DOMAIN"), | |
2 verify_issuer: false, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set nocompatible " be iMproved, required | |
filetype off " required | |
let mapleader = ',' | |
set wildmenu | |
set autoread | |
set encoding=utf-8 | |
"set guifont=Liberation_Mono_for_Powerline:h16 | |
" set the runtime path to include Vundle and initialize | |
set rtp+=~/.vim/bundle/Vundle.vim |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'use strict'; | |
import React, { AppRegistry } from 'react-native'; | |
import App from './app/containers/App'; | |
AppRegistry.registerComponent('Main', () => App); | |
-- App.js |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[2015-09-06 23:32:09] app.INFO: Matched route "userLogin". {"route_parameters":{"_controller":"Summit\\User\\UserController::login","_route":"userLogin"},"request_uri":"http://localhost:8888/api/user/login"} [] | |
[2015-09-06 23:32:09] app.INFO: Populated the TokenStorage with an anonymous Token. [] [] | |
[2015-09-06 23:32:09] app.DEBUG: < 200 [] [] | |
[2015-09-06 23:32:09] app.INFO: Matched route "userLogin". {"route_parameters":{"_controller":"Summit\\User\\UserController::login","_route":"userLogin"},"request_uri":"http://localhost:8888/api/user/login"} [] | |
[2015-09-06 23:32:09] app.INFO: Populated the TokenStorage with an anonymous Token. [] [] | |
[2015-09-06 23:32:09] app.DEBUG: > POST /api/user/login [] [] | |
[2015-09-06 23:32:09] app.INFO: {"_username":"summittest@mailinator.com","_password":"1alduro"} [] [] | |
[2015-09-06 23:32:09] app.INFO: summittest@mailinator.com [] [] | |
[2015-09-06 23:32:09] app.INFO: {} [] [] | |
[2015-09-06 23:32:09] app.INFO: {} [] [] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[2015-08-28 16:02:52] myapp.INFO: Matched route "GET_". {"route_parameters":{"_controller":"[object] (Closure: {})","_route":"GET_"},"request_uri":"http://:/"} [] | |
[2015-08-28 16:02:52] myapp.INFO: An AuthenticationException was thrown; redirecting to authentication entry point. {"exception":"[object] (Symfony\\Component\\Security\\Core\\Exception\\AuthenticationCredentialsNotFoundException(code: 0): A Token was not found in the TokenStorage. at /Users/aldo/Satio/Desarrollo/node/summit-api/vendor/symfony/security/Http/Firewall/AccessListener.php:53)"} [] | |
[2015-08-28 16:02:52] myapp.DEBUG: Calling Authentication entry point. [] [] | |
[2015-08-28 16:02:52] myapp.DEBUG: < 401 [] [] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#user nobody; | |
worker_processes 1; | |
#error_log logs/error.log; | |
#error_log logs/error.log notice; | |
#error_log logs/error.log info; | |
#pid logs/nginx.pid; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "gesto-wok", | |
"version": "1.0.0", | |
"dependencies": { | |
"jquery": "~2.1.1", | |
"angular-animate": "~1.3.4", | |
"angular-cookies": "~1.3.4", | |
"angular-touch": "~1.3.4", | |
"angular-sanitize": "~1.3.4", | |
"angular-css": "~1.0.7", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
*** Server side | |
'use strict'; | |
const env = process.env.NODE_ENV || 'development'; | |
delete process.env.BROWSER; | |
import http from 'http'; | |
import path from 'path'; | |
import cors from 'cors'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React from 'react'; | |
import AuthStore from '../stores/AuthStore'; | |
import AuthActions from '../actions/AuthActions'; | |
import connectToStores from 'flummox/connect'; | |
class SignIn extends React.Component { | |
constructor() { | |
debugger; | |
super(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- Actions | |
'use strict'; | |
import { Actions } from 'flummox'; | |
import ApiUtils from '../utils/ApiUtils'; | |
class RestaurantActions extends Actions { | |
getProductsByRestaurant() { |