{"action":"created","issue":{"url":"https://api.github.com/repos/sahat/satellizer/issues/658","labels_url":"https://api.github.com/repos/sahat/satellizer/issues/658/labels{/name}","comments_url":"https://api.github.com/repos/sahat/satellizer/issues/658/comments","events_url":"https://api.github.com/repos/sahat/satellizer/issues/658/events","html_url":"https://github.com/sahat/satellizer/issues/658","id":119171541,"number":658,"title":"Dynamically change $authProvider configuration","user":{"login":"benjii","id":2872126,"avatar_url":"https://avatars.githubusercontent.com/u/2872126?v=3","gravatar_id":"","url":"https://api.github.com/users/benjii","html_url":"https://github.com/benjii","followers_url":"https://api.github.com/users/benjii/followers","following_url":"https://api.github.com/users/benjii/following{/other_user}","gists_url":"https://api.github.com/users/benjii/gists{/gist_id}","starred_url":"https://api.github.com/users/benjii/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benjii/subscriptions","organizations_url":"https://api.github.com/users/benjii/orgs","repos_url":"https://api.github.com/users/benjii/repos","events_url":"https://api.github.com/users/benjii/events{/privacy}","received_events_url":"https://api.github.com/users/benjii/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-11-27T10:24:57Z","updated_at":"2016-01-22T15:59:00Z","closed_at":null,"body":"Hi everyone,\r\n\r\nIs there a way to update the $authProvider / $auth instance dynamically with Satellizer? The reference question on SO is [here](http://stackoverflow.com/questions/33952791/change-github-scopes-in-authprovider-in-satellizer) but I thought that I would check at the source.\r\n\r\nBasically I want users to be able to login in with scope 'user:email' (only) and then, if they want access to additional functions, push through the authentication cycle again (with additional scopes).\r\n\r\nIf there is no way to currently support this, would it be considered as a PR?\r\n\r\nCheers!\r\nBen"},"comment":{"url":"https://api.github.com/repos/sahat/satellizer/issues/comments/173961131","html_url":"https://github.com/sahat/satellizer/issues/658#issuecomment-173961131","issue_url":"https://api.github.com/repos/sahat/satellizer/issues/658","id":173961131,"user":{"login":"fabiopaiva","id":2126528,"avatar_url":"https://avatars.githubusercontent.com/u/2126528?v=3","gravatar_id":"","url":"https://api.github.com/users/fabiopaiva","html_url":"https://github.com/fabiopaiva","followers_url":"https://api.github.com/users/fabiopaiva/followers","following_url":"https://api.github.com/users/fabiopaiva/following{/other_user}","gists_url":"https://api.github.com/users/fabiopaiva/gists{/gist_id}","starred_url":"https://api.github.com/users/fabiopaiva/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fabiopaiva/subscriptions","organizations_url":"https://api.github.com/users/fabiopaiva/orgs","repos_url":"https://api.github.com/users/fabiopaiva/repos","events_url":"https://api.github.com/users/fabiopaiva/events{/privacy}","received_events_url":"https://api.github.com/users/fabiopaiva/received_events","type":"User","site_admin":false},"created_at":"2016-01-22T15:59:00Z","updated_at":"2016-01-22T15:59:00Z","body":"I think it should be on documentation. I needed to open the source code to discover this."}}