Change the getHostName() function to getProviderUrl() in order to fix an error while updating an oauth token on workspace start. Throw ScmUnauthorizedException if an oAuth token is not valid, for the dashboard to open the authorisation page and update the token. |
||
|---|---|---|
| .. | ||
| main/java/org/eclipse/che/api/factory/server/github | ||
| test | ||