@Override
public OAuthAppSettings tune(OAuthAppSettings toTune) {
return new SimpleOAuthAppSettingsBuilder()
.readFromSettings(toTune)
.callback(new FacesUrlTransformer(toTune.getCallback())
.appendParamIfNecessary(AgoravaConstants.SESSIONID_PARAM, session.getId()).getUrl())
.build();
}