我在窗口安装了Jenkins,我需要所有插件,我想是的.当我创建一个新的工作和在存储库URL我写我的网址
http://git.*****.org/*****/seleniumproject.git
它显示
Help for feature: Repository URL
Failed to connect to repository : Command "C:\Program Files (x86)\Git\bin\git.exe ls-remote -h http://git.*****.org/*****/seleniumproject.git HEAD" returned status code 128:
stdout:
stderr: fatal: Authentication failed for 'http://git.*****.org/*****/seleniumproject.git'`
Run Code Online (Sandbox Code Playgroud)
我的问题:如何对我的远程gitlab进行身份验证?!我有所有键的.ssh文件夹,但不知道该做什么...
更新:奇怪,因为我的TortoiseGit工作得很好
我的修复:
C:\Jenkins\.ssh.ssh文件夹中保存.ssh文件
夹,你可以找到C:\Users\yourname\.sshC:\Program Files (x86)\Git\cmd\git.exe路径必须与cmd一起使用ssh://git@git.sitename.org:/name/projet.git我正在为我的应用程序使用owin,使用Web Api2处理数据和使用MVC5进行查看.
static Startup()
{
PublicClientId = "self";
UserManagerFactory = () => new UserManager<User, int>(new UserRepository());
OAuthOptions = new OAuthAuthorizationServerOptions
{
TokenEndpointPath = new PathString("/Account/Token"),
AuthorizeEndpointPath = new PathString("/Account/ExternalLogin"),
Provider = new ApplicationOAuthProvider(PublicClientId, UserManagerFactory),
RefreshTokenProvider = new SimpleRefreshTokenProvider(),
AccessTokenExpireTimeSpan = TimeSpan.FromMinutes(59),
AllowInsecureHttp = true,
};
}
Run Code Online (Sandbox Code Playgroud)
当用户通过/ Token登录?username = x&password = x&grant_type = password时,它会生成带有刷新GUID的承载令牌,以便将来刷新令牌/令牌?grant_type = refresh_token,所有工作都正常.
我的应用程序可以通过Facebook等登录,它从Facebook获取我需要的数据(电子邮件等)然后我想用刷新GUID生成令牌,问题是刷新我需要通过/ Token传递数据吗?用户名和密码但我的用户没有没有密码,我很难发送额外的参数Scope并显示其使用的提供商和提供商密钥,并在DB中搜索此用户已注册并授予他生成令牌的权限. …
我想在登录页面上创建一个将重定向到http:// server/resetpassword /的URL,并且会有我的cusotm页面,从示例中创建CustomViewServices,但是没有示例如何添加您自己的页面
https://github.com/IdentityServer/IdentityServer3.Samples/tree/master/source/CustomViewService
有任何想法吗?
我有一个问题,我需要从中获取价值
string someValue = ((IJavaScriptExecutor)Global.Driver).ExecuteScript("$('#publication_title').val();");
Console.WriteLine(someValue);
Run Code Online (Sandbox Code Playgroud)
任何的想法?