{"action":"created","issue":{"url":"https://api.github.com/repos/yiisoft/yii2-authclient/issues/77","labels_url":"https://api.github.com/repos/yiisoft/yii2-authclient/issues/77/labels{/name}","comments_url":"https://api.github.com/repos/yiisoft/yii2-authclient/issues/77/comments","events_url":"https://api.github.com/repos/yiisoft/yii2-authclient/issues/77/events","html_url":"https://github.com/yiisoft/yii2-authclient/issues/77","id":123143986,"number":77,"title":"Add configurable $baseUrl parameter","user":{"login":"umanamente","id":10637425,"avatar_url":"https://avatars.githubusercontent.com/u/10637425?v=3","gravatar_id":"","url":"https://api.github.com/users/umanamente","html_url":"https://github.com/umanamente","followers_url":"https://api.github.com/users/umanamente/followers","following_url":"https://api.github.com/users/umanamente/following{/other_user}","gists_url":"https://api.github.com/users/umanamente/gists{/gist_id}","starred_url":"https://api.github.com/users/umanamente/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/umanamente/subscriptions","organizations_url":"https://api.github.com/users/umanamente/orgs","repos_url":"https://api.github.com/users/umanamente/repos","events_url":"https://api.github.com/users/umanamente/events{/privacy}","received_events_url":"https://api.github.com/users/umanamente/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-12-20T08:33:28Z","updated_at":"2015-12-20T15:21:05Z","closed_at":"2015-12-20T15:21:05Z","body":"Assume there are multiple domains for an OAuth provider (like in wikipedia):\r\n```\r\nhttps://en.wikipedia.org/wiki/Special:OAuth\r\nhttps://ru.wikipedia.org/wiki/Special:OAuth\r\n... etc\r\n```\r\nSo there have to be the choice to pick one:\r\n```php\r\npublic $baseUrl;\r\npublic $authUrl = '/initiate?format=json&oauth_callback=oob';\r\n```\r\n\r\nMaybe use overridable getters instead of `$this->authUrl`?"},"comment":{"url":"https://api.github.com/repos/yiisoft/yii2-authclient/issues/comments/166128121","html_url":"https://github.com/yiisoft/yii2-authclient/issues/77#issuecomment-166128121","issue_url":"https://api.github.com/repos/yiisoft/yii2-authclient/issues/77","id":166128121,"user":{"login":"klimov-paul","id":1482054,"avatar_url":"https://avatars.githubusercontent.com/u/1482054?v=3","gravatar_id":"","url":"https://api.github.com/users/klimov-paul","html_url":"https://github.com/klimov-paul","followers_url":"https://api.github.com/users/klimov-paul/followers","following_url":"https://api.github.com/users/klimov-paul/following{/other_user}","gists_url":"https://api.github.com/users/klimov-paul/gists{/gist_id}","starred_url":"https://api.github.com/users/klimov-paul/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/klimov-paul/subscriptions","organizations_url":"https://api.github.com/users/klimov-paul/orgs","repos_url":"https://api.github.com/users/klimov-paul/repos","events_url":"https://api.github.com/users/klimov-paul/events{/privacy}","received_events_url":"https://api.github.com/users/klimov-paul/received_events","type":"User","site_admin":false},"created_at":"2015-12-20T15:21:05Z","updated_at":"2015-12-20T15:21:05Z","body":"See explanations at #78"}}