{"action":"closed","issue":{"url":"https://api.github.com/repos/coreos/dex/issues/29","labels_url":"https://api.github.com/repos/coreos/dex/issues/29/labels{/name}","comments_url":"https://api.github.com/repos/coreos/dex/issues/29/comments","events_url":"https://api.github.com/repos/coreos/dex/issues/29/events","html_url":"https://github.com/coreos/dex/issues/29","id":101479774,"number":29,"title":"oidc: add a way to validate all settings in client","user":{"login":"bobbyrullo","id":9629,"avatar_url":"https://avatars.githubusercontent.com/u/9629?v=3","gravatar_id":"","url":"https://api.github.com/users/bobbyrullo","html_url":"https://github.com/bobbyrullo","followers_url":"https://api.github.com/users/bobbyrullo/followers","following_url":"https://api.github.com/users/bobbyrullo/following{/other_user}","gists_url":"https://api.github.com/users/bobbyrullo/gists{/gist_id}","starred_url":"https://api.github.com/users/bobbyrullo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bobbyrullo/subscriptions","organizations_url":"https://api.github.com/users/bobbyrullo/orgs","repos_url":"https://api.github.com/users/bobbyrullo/repos","events_url":"https://api.github.com/users/bobbyrullo/events{/privacy}","received_events_url":"https://api.github.com/users/bobbyrullo/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/coreos/dex/labels/kind/enhancement","name":"kind/enhancement","color":"c7def8"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-08-17T18:19:56Z","updated_at":"2015-11-04T20:24:59Z","closed_at":"2015-11-04T20:24:59Z","body":"<a href=\"https://github.com/sym3tri\"><img src=\"https://avatars.githubusercontent.com/u/224222?v=3\" align=\"left\" width=\"96\" height=\"96\" hspace=\"10\"></img></a> **Issue by [sym3tri](https://github.com/sym3tri)**\n_Tuesday Jun 23, 2015 at 00:19 GMT_\n_Originally opened as https://github.com/coreos-inc/auth/issues/273_\n\n----\n\nCurrently each app that includes the client library needs to manually validate all the input params to the `oidc.Client`. This code could live in the library itself to make it easier on users of the library.\r\n`ClientID` & `ClientSecret` should be non-empty, and `RedirectURL` should be a valid URL.\r\n\n"}}