{"action":"opened","issue":{"url":"https://api.github.com/repos/AzureAD/azure-activedirectory-library-for-js/issues/96","labels_url":"https://api.github.com/repos/AzureAD/azure-activedirectory-library-for-js/issues/96/labels{/name}","comments_url":"https://api.github.com/repos/AzureAD/azure-activedirectory-library-for-js/issues/96/comments","events_url":"https://api.github.com/repos/AzureAD/azure-activedirectory-library-for-js/issues/96/events","html_url":"https://github.com/AzureAD/azure-activedirectory-library-for-js/issues/96","id":60613612,"number":96,"title":"Config option to set requireADLogin to true by default","user":{"login":"richardp-au","id":1351205,"avatar_url":"https://avatars.githubusercontent.com/u/1351205?v=3","gravatar_id":"","url":"https://api.github.com/users/richardp-au","html_url":"https://github.com/richardp-au","followers_url":"https://api.github.com/users/richardp-au/followers","following_url":"https://api.github.com/users/richardp-au/following{/other_user}","gists_url":"https://api.github.com/users/richardp-au/gists{/gist_id}","starred_url":"https://api.github.com/users/richardp-au/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/richardp-au/subscriptions","organizations_url":"https://api.github.com/users/richardp-au/orgs","repos_url":"https://api.github.com/users/richardp-au/repos","events_url":"https://api.github.com/users/richardp-au/events{/privacy}","received_events_url":"https://api.github.com/users/richardp-au/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-03-11T05:42:17Z","updated_at":"2015-03-11T05:42:17Z","closed_at":null,"body":"I expect there will be lots of cases where the majority, if not all, controllers require AD login. So it would be convenient to have the ability to specify a value for `requireADLogin` in the provider's `init` function.\r\n\r\nThat way, you could set the default value of `requireADLogin = true` in the provider and then it doesn't need to be included on every route. Then on the odd controller where you don't need to be logged in, you could set `requireADLogin = false`."}}