{"action":"opened","issue":{"url":"https://api.github.com/repos/monterail/rails_sso/issues/22","labels_url":"https://api.github.com/repos/monterail/rails_sso/issues/22/labels{/name}","comments_url":"https://api.github.com/repos/monterail/rails_sso/issues/22/comments","events_url":"https://api.github.com/repos/monterail/rails_sso/issues/22/events","html_url":"https://github.com/monterail/rails_sso/issues/22","id":103362886,"number":22,"title":"Extract strategy eval","user":{"login":"jandudulski","id":153103,"avatar_url":"https://avatars.githubusercontent.com/u/153103?v=3","gravatar_id":"","url":"https://api.github.com/users/jandudulski","html_url":"https://github.com/jandudulski","followers_url":"https://api.github.com/users/jandudulski/followers","following_url":"https://api.github.com/users/jandudulski/following{/other_user}","gists_url":"https://api.github.com/users/jandudulski/gists{/gist_id}","starred_url":"https://api.github.com/users/jandudulski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jandudulski/subscriptions","organizations_url":"https://api.github.com/users/jandudulski/orgs","repos_url":"https://api.github.com/users/jandudulski/repos","events_url":"https://api.github.com/users/jandudulski/events{/privacy}","received_events_url":"https://api.github.com/users/jandudulski/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/monterail/rails_sso/labels/question","name":"question","color":"cc317c"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-08-26T20:59:37Z","updated_at":"2015-08-26T20:59:37Z","closed_at":null,"body":"Right now we have to inject some modifications into omniauth strategy class in use (as done [here](https://github.com/monterail/rails_sso/blob/master/lib/rails_sso/engine.rb#L11)). Hackish.\r\n\r\nI'm thinking about creating base omniauth-sso strategy which finally should be used to develop your own strategy.\r\n\r\nIt would make things simpler, cleaner but require changes (or implementation of new ones) in currently existing strategies."}}