{"action":"opened","issue":{"url":"https://api.github.com/repos/MarkEdmondson1234/googleAuthR/issues/40","repository_url":"https://api.github.com/repos/MarkEdmondson1234/googleAuthR","labels_url":"https://api.github.com/repos/MarkEdmondson1234/googleAuthR/issues/40/labels{/name}","comments_url":"https://api.github.com/repos/MarkEdmondson1234/googleAuthR/issues/40/comments","events_url":"https://api.github.com/repos/MarkEdmondson1234/googleAuthR/issues/40/events","html_url":"https://github.com/MarkEdmondson1234/googleAuthR/issues/40","id":167016881,"number":40,"title":"gar_auth_service() broken - Error in read_input(file) :","user":{"login":"MarkEdmondson1234","id":3155884,"avatar_url":"https://avatars.githubusercontent.com/u/3155884?v=3","gravatar_id":"","url":"https://api.github.com/users/MarkEdmondson1234","html_url":"https://github.com/MarkEdmondson1234","followers_url":"https://api.github.com/users/MarkEdmondson1234/followers","following_url":"https://api.github.com/users/MarkEdmondson1234/following{/other_user}","gists_url":"https://api.github.com/users/MarkEdmondson1234/gists{/gist_id}","starred_url":"https://api.github.com/users/MarkEdmondson1234/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MarkEdmondson1234/subscriptions","organizations_url":"https://api.github.com/users/MarkEdmondson1234/orgs","repos_url":"https://api.github.com/users/MarkEdmondson1234/repos","events_url":"https://api.github.com/users/MarkEdmondson1234/events{/privacy}","received_events_url":"https://api.github.com/users/MarkEdmondson1234/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-07-22T10:29:41Z","updated_at":"2016-07-22T10:29:41Z","closed_at":null,"body":"Previously working JSON files now don't authenticate, it can't find the secrets file in a `httr` supporting library, `openssl`\r\n\r\nhttps://github.com/hadley/httr/issues/340\r\n\r\n```r\r\nlibrary(googleAuthR)\r\ngoogleAuthR::gar_auth_service(\"~/dev/auth/client_secret_XXX.apps.googleusercontent.com.json\")\r\n Error in read_input(file) : \r\n  file must be connection, raw vector or file path \r\n11. stop(\"file must be connection, raw vector or file path\") \r\n10. read_input(file) \r\n9. openssl::read_key(private_key) \r\n8. jwt_sign(cs, credentials$private_key) \r\n7. jwt_signature(secrets, aud = secrets$token_uri, scope = scope) \r\n6. init_oauth_service_account(self$secrets, self$params$scope) \r\n5. self$refresh() \r\n4. public_bind_env$initialize(...) \r\n3. TokenServiceAccount$new(endpoint = endpoint, secrets = secrets, \r\n    params = list(scope = scope)) \r\n2. httr::oauth_service_token(endpoint, secrets, scope) at googleAuthR_auth.R#261\r\n1. googleAuthR::gar_auth_service(\"~/dev/auth/client_secret_XXX.apps.googleusercontent.com.json\") \r\n```"}}
{"actor":{"display_login":"MarkEdmondson1234"}}