{"action":"created","issue":{"url":"https://api.github.com/repos/graphcool/templates/issues/79","repository_url":"https://api.github.com/repos/graphcool/templates","labels_url":"https://api.github.com/repos/graphcool/templates/issues/79/labels{/name}","comments_url":"https://api.github.com/repos/graphcool/templates/issues/79/comments","events_url":"https://api.github.com/repos/graphcool/templates/issues/79/events","html_url":"https://github.com/graphcool/templates/issues/79","id":257322926,"number":79,"title":"email-user-management An unexpected error occured","user":{"login":"in-html","id":12491780,"avatar_url":"https://avatars2.githubusercontent.com/u/12491780?v=4","gravatar_id":"","url":"https://api.github.com/users/in-html","html_url":"https://github.com/in-html","followers_url":"https://api.github.com/users/in-html/followers","following_url":"https://api.github.com/users/in-html/following{/other_user}","gists_url":"https://api.github.com/users/in-html/gists{/gist_id}","starred_url":"https://api.github.com/users/in-html/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/in-html/subscriptions","organizations_url":"https://api.github.com/users/in-html/orgs","repos_url":"https://api.github.com/users/in-html/repos","events_url":"https://api.github.com/users/in-html/events{/privacy}","received_events_url":"https://api.github.com/users/in-html/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-09-13T09:56:32Z","updated_at":"2018-03-26T14:48:37Z","closed_at":"2017-09-22T09:05:58Z","author_association":"NONE","body":"Hello!\r\nHelp me please. I want to update user password. I copied the schema code and logic according to the instructions. Next I created a pta on the AUTHENTICATION tab.\r\nI call a mutation:\r\n```\r\nmutation {\r\n updatePassword(email: \"user_email\", password: \"pass\", newPassword: \"new_pass\") {\r\n    id\r\n }\r\n}\r\n```\r\nBut I get an error: 'GraphQL error: function execution error: An unexpected error occured.'.\r\n\r\nIf I do the 'test run':\r\n```\r\n{\r\n    \"data\": {\r\n        \"email\": \"user_email\",\r\n        \"password\": \"pass\",\r\n        \"newPassword\": \"new_pass\",\r\n    },\r\n    \"context\": {\r\n        \"projectId\": \"projectId\",\r\n        \"pat\": \"pat\",\r\n  },\r\n}\r\n```\r\nI get an error:\r\n\r\n> No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'https://console.graph.cool' is therefore not allowed access. The response had HTTP status code 502. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.\r\n> fullscreen:1 Uncaught (in promise) TypeError: Failed to fetch\r\n\r\nTell me please, what could be the problem?"},"comment":{"url":"https://api.github.com/repos/graphcool/templates/issues/comments/376192660","html_url":"https://github.com/graphcool/templates/issues/79#issuecomment-376192660","issue_url":"https://api.github.com/repos/graphcool/templates/issues/79","id":376192660,"user":{"login":"zixia","id":1361891,"avatar_url":"https://avatars3.githubusercontent.com/u/1361891?v=4","gravatar_id":"","url":"https://api.github.com/users/zixia","html_url":"https://github.com/zixia","followers_url":"https://api.github.com/users/zixia/followers","following_url":"https://api.github.com/users/zixia/following{/other_user}","gists_url":"https://api.github.com/users/zixia/gists{/gist_id}","starred_url":"https://api.github.com/users/zixia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zixia/subscriptions","organizations_url":"https://api.github.com/users/zixia/orgs","repos_url":"https://api.github.com/users/zixia/repos","events_url":"https://api.github.com/users/zixia/events{/privacy}","received_events_url":"https://api.github.com/users/zixia/received_events","type":"User","site_admin":false},"created_at":"2018-03-26T14:48:37Z","updated_at":"2018-03-26T14:48:37Z","author_association":"NONE","body":"Thanks for the reply!\r\n\r\nMy issue is related the `subscription` part of graphcool. It seems that the Query & Mutation part of HTTP link worked but the WebSocket WSS endpoint not."}}
{"actor":{"display_login":"zixia"}}