{"action":"created","issue":{"url":"https://api.github.com/repos/elixircnx/openmaize/issues/21","labels_url":"https://api.github.com/repos/elixircnx/openmaize/issues/21/labels{/name}","comments_url":"https://api.github.com/repos/elixircnx/openmaize/issues/21/comments","events_url":"https://api.github.com/repos/elixircnx/openmaize/issues/21/events","html_url":"https://github.com/elixircnx/openmaize/issues/21","id":126569314,"number":21,"title":"Configure custom login and register redirects","user":{"login":"iovative","id":13921340,"avatar_url":"https://avatars.githubusercontent.com/u/13921340?v=3","gravatar_id":"","url":"https://api.github.com/users/iovative","html_url":"https://github.com/iovative","followers_url":"https://api.github.com/users/iovative/followers","following_url":"https://api.github.com/users/iovative/following{/other_user}","gists_url":"https://api.github.com/users/iovative/gists{/gist_id}","starred_url":"https://api.github.com/users/iovative/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iovative/subscriptions","organizations_url":"https://api.github.com/users/iovative/orgs","repos_url":"https://api.github.com/users/iovative/repos","events_url":"https://api.github.com/users/iovative/events{/privacy}","received_events_url":"https://api.github.com/users/iovative/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"riverrun","id":434903,"avatar_url":"https://avatars.githubusercontent.com/u/434903?v=3","gravatar_id":"","url":"https://api.github.com/users/riverrun","html_url":"https://github.com/riverrun","followers_url":"https://api.github.com/users/riverrun/followers","following_url":"https://api.github.com/users/riverrun/following{/other_user}","gists_url":"https://api.github.com/users/riverrun/gists{/gist_id}","starred_url":"https://api.github.com/users/riverrun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/riverrun/subscriptions","organizations_url":"https://api.github.com/users/riverrun/orgs","repos_url":"https://api.github.com/users/riverrun/repos","events_url":"https://api.github.com/users/riverrun/events{/privacy}","received_events_url":"https://api.github.com/users/riverrun/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2016-01-14T03:23:19Z","updated_at":"2016-01-18T04:15:51Z","closed_at":null,"body":"Hey David,\r\nI am trying to configure the redirects that occur upon a successful login and registration.  For context, my app has user profiles.  When they first register, I want them redirected to http://app/profiles/new so they can initially create their profile.  But, once they create it, when they log in, I want them redirected to their specific profile page as in http://app/profiles/show/:id.  I see that I can configure basic redirects such as \"admin\" => \"/admin\", but I need more customization in where users are redirected to.  I guess I could configure a basic redirect, then have that route redirect again to the profile page, but I wanted to see if you knew an easier way this could be done within the config.exs file."},"comment":{"url":"https://api.github.com/repos/elixircnx/openmaize/issues/comments/172420552","html_url":"https://github.com/elixircnx/openmaize/issues/21#issuecomment-172420552","issue_url":"https://api.github.com/repos/elixircnx/openmaize/issues/21","id":172420552,"user":{"login":"riverrun","id":434903,"avatar_url":"https://avatars.githubusercontent.com/u/434903?v=3","gravatar_id":"","url":"https://api.github.com/users/riverrun","html_url":"https://github.com/riverrun","followers_url":"https://api.github.com/users/riverrun/followers","following_url":"https://api.github.com/users/riverrun/following{/other_user}","gists_url":"https://api.github.com/users/riverrun/gists{/gist_id}","starred_url":"https://api.github.com/users/riverrun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/riverrun/subscriptions","organizations_url":"https://api.github.com/users/riverrun/orgs","repos_url":"https://api.github.com/users/riverrun/repos","events_url":"https://api.github.com/users/riverrun/events{/privacy}","received_events_url":"https://api.github.com/users/riverrun/received_events","type":"User","site_admin":false},"created_at":"2016-01-18T04:15:51Z","updated_at":"2016-01-18T04:15:51Z","body":"I need to make a couple of changes to allow redirects to a url with \":id\" in it.\r\nThe issue about configuring different redirect pages can be solved by using different roles, but I'll give you more information about that when I've fixed the problem with \":id\" urls (some time later this week)."}}