{"action":"opened","issue":{"url":"https://api.github.com/repos/coreos/dex/issues/1230","repository_url":"https://api.github.com/repos/coreos/dex","labels_url":"https://api.github.com/repos/coreos/dex/issues/1230/labels{/name}","comments_url":"https://api.github.com/repos/coreos/dex/issues/1230/comments","events_url":"https://api.github.com/repos/coreos/dex/issues/1230/events","html_url":"https://github.com/coreos/dex/issues/1230","id":320058711,"number":1230,"title":"Multi-tenancy - redirect to identity provider based on username","user":{"login":"sirianni","id":381302,"avatar_url":"https://avatars3.githubusercontent.com/u/381302?v=4","gravatar_id":"","url":"https://api.github.com/users/sirianni","html_url":"https://github.com/sirianni","followers_url":"https://api.github.com/users/sirianni/followers","following_url":"https://api.github.com/users/sirianni/following{/other_user}","gists_url":"https://api.github.com/users/sirianni/gists{/gist_id}","starred_url":"https://api.github.com/users/sirianni/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sirianni/subscriptions","organizations_url":"https://api.github.com/users/sirianni/orgs","repos_url":"https://api.github.com/users/sirianni/repos","events_url":"https://api.github.com/users/sirianni/events{/privacy}","received_events_url":"https://api.github.com/users/sirianni/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-05-03T19:57:38Z","updated_at":"2018-05-03T19:57:38Z","closed_at":null,"author_association":"NONE","body":"Is it possible (or on the roadmap?) to choose the identity provider dynamically based on the username or an organization (tenant) specifier?\r\n\r\nI'm looking for a workflow like:\r\n* User enters username (email address), clicks `Next`\r\n* Based on email domain suffix, dex redirects to organization-specific Identity Provider.\r\n\r\nThis is the same workflow as in https://login.microsoftonline.com for example."}}
{"actor":{"display_login":"sirianni"}}