{"action":"created","issue":{"url":"https://api.github.com/repos/hapijs/glue/issues/19","labels_url":"https://api.github.com/repos/hapijs/glue/issues/19/labels{/name}","comments_url":"https://api.github.com/repos/hapijs/glue/issues/19/comments","events_url":"https://api.github.com/repos/hapijs/glue/issues/19/events","html_url":"https://github.com/hapijs/glue/issues/19","id":71975743,"number":19,"title":"Inconsistent plugin load order","user":{"login":"jlines","id":1261309,"avatar_url":"https://avatars.githubusercontent.com/u/1261309?v=3","gravatar_id":"","url":"https://api.github.com/users/jlines","html_url":"https://github.com/jlines","followers_url":"https://api.github.com/users/jlines/followers","following_url":"https://api.github.com/users/jlines/following{/other_user}","gists_url":"https://api.github.com/users/jlines/gists{/gist_id}","starred_url":"https://api.github.com/users/jlines/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jlines/subscriptions","organizations_url":"https://api.github.com/users/jlines/orgs","repos_url":"https://api.github.com/users/jlines/repos","events_url":"https://api.github.com/users/jlines/events{/privacy}","received_events_url":"https://api.github.com/users/jlines/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-04-29T20:08:17Z","updated_at":"2015-04-30T08:53:11Z","closed_at":null,"body":"I am loading my manifest using glue. The plugins section of manifest looks like this\r\n\r\nplugins: {\r\n        'hapi-auth-jwt':{},\r\n        './server/api/index': {}\r\n    }\r\n\r\nMy api/index calls\r\nserver.auth.strategy('token', 'jwt' ....\r\n\r\nThis call fails sometimes with the message\r\nAuthentication strategy token uses unknown scheme: jwt\r\n\r\nIt seems that the load order of the plugins are not guaranteed which is causing my problem. Is there a recommended way to address this problem?"},"comment":{"url":"https://api.github.com/repos/hapijs/glue/issues/comments/97711238","html_url":"https://github.com/hapijs/glue/issues/19#issuecomment-97711238","issue_url":"https://api.github.com/repos/hapijs/glue/issues/19","id":97711238,"user":{"login":"Marsup","id":796194,"avatar_url":"https://avatars.githubusercontent.com/u/796194?v=3","gravatar_id":"","url":"https://api.github.com/users/Marsup","html_url":"https://github.com/Marsup","followers_url":"https://api.github.com/users/Marsup/followers","following_url":"https://api.github.com/users/Marsup/following{/other_user}","gists_url":"https://api.github.com/users/Marsup/gists{/gist_id}","starred_url":"https://api.github.com/users/Marsup/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Marsup/subscriptions","organizations_url":"https://api.github.com/users/Marsup/orgs","repos_url":"https://api.github.com/users/Marsup/repos","events_url":"https://api.github.com/users/Marsup/events{/privacy}","received_events_url":"https://api.github.com/users/Marsup/received_events","type":"User","site_admin":false},"created_at":"2015-04-30T08:53:11Z","updated_at":"2015-04-30T08:53:11Z","body":"JSON keys order have never been deterministic, use dependencies for that."}}