{"action":"opened","issue":{"url":"https://api.github.com/repos/laravel/passport/issues/210","repository_url":"https://api.github.com/repos/laravel/passport","labels_url":"https://api.github.com/repos/laravel/passport/issues/210/labels{/name}","comments_url":"https://api.github.com/repos/laravel/passport/issues/210/comments","events_url":"https://api.github.com/repos/laravel/passport/issues/210/events","html_url":"https://github.com/laravel/passport/issues/210","id":195200264,"number":210,"title":"Allow custom URL schemes for redirect urls","user":{"login":"LarsJK","id":1528255,"avatar_url":"https://avatars.githubusercontent.com/u/1528255?v=3","gravatar_id":"","url":"https://api.github.com/users/LarsJK","html_url":"https://github.com/LarsJK","followers_url":"https://api.github.com/users/LarsJK/followers","following_url":"https://api.github.com/users/LarsJK/following{/other_user}","gists_url":"https://api.github.com/users/LarsJK/gists{/gist_id}","starred_url":"https://api.github.com/users/LarsJK/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LarsJK/subscriptions","organizations_url":"https://api.github.com/users/LarsJK/orgs","repos_url":"https://api.github.com/users/LarsJK/repos","events_url":"https://api.github.com/users/LarsJK/events{/privacy}","received_events_url":"https://api.github.com/users/LarsJK/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-12-13T09:22:05Z","updated_at":"2016-12-13T09:22:05Z","closed_at":null,"body":"On iOS a common way to authenticate with OAuth 2.0 is to create a custom url scheme for the app. So the redirect url you would register in passport for an app would be something like `my-app://some-url`.\r\n\r\nAt the moment passport validates URLs using the laravel validators url rule, which does not allow for custom URL schemes. I have posted an [issue](laravel/internals/issues/306) regarding the url validation rule on laravel/internals.\r\n\r\nWhat do you think about removing this validation for passport? Alternatively just validate that the scheme is valid, but not that it is a IANA registered scheme.. (i.e. beginning with a letter and followed by any combination of letters, digits, plus `+`, period `.`, or hyphen `-`)"}}
{"actor":{"display_login":"LarsJK"}}