How to setup Jenkins with Microsoft ADFS for SSO - jenkins

I'm using SAML 2.0 plugin to connect Jenkins to ADFS.
I was able to add ADFS IDP metadata in Jenkins plugin and validate successfully. This is the only configuration update I made in Jenkins SAML plugin configuration.
After the IDP update whenever I try to hit any Jenkins URL it gets auto redirected to the ADFS server url and errors out.
I'm comfortable with Jenkins, however as I m new to ADFS I would like to know the following:
What Jenkins information do I need to provide to the ADFS team for them to get the integration to work and where will I find that information.
Apart from IDP metadata is there other ADFS details I need to provide in Jenkins ?
Is running Jenkins on SSL (signed by self or by CA) a must for integrating with ADFS ? I'm looking to do a very basic setup that works and not a standard setup.
Please suggest.
I can provide their IDP metadata if required however would like recommendation of what to delete/remove from IDP file for security reasons.

Related

Error Message: No JIRA site configured | Using JiraCloud

I have setup Jira & Jenkins Integration. I'm using the typical Jira Cloud <orgname>.atlassian.net. So far jiraSendBuildInfo, jiraSendDeploymentInfo are working.
However when I tried using jiraTransitionIssue I received error No JIRA site configured with <org>.atlassian.net name.
I tried adding Jira Site in Jira Steps configuration, however I was unable to select credentials. I added atlassian API token in the credentials but for some reason it's not showing on the list.
PS: I'm using JIRA API Token because atlassian Username & Password is now deprecated.
JIRA STEPS Plugin Version: 1.6.0
email as a username & API Token from https://id.atlassian.com/manage-profile/security/api-tokens as a password works.

Git-lab OAuth plugin -logout link not working

We configured Gitlab oauth plugin in my Jenkin server ,Now i can log with my gitlab credential in Jenkins but logout option not working once signed .
Already below issue reported in Github OAuth plugin but now this same issue in gitlab plugin too.please any one log this issue in Jenkin
https://issues.jenkins-ci.org/browse/JENKINS-16350
Because github server is not aware of your Oauth app logging out mechanism,best way to achieve it is as below;
Provide a link (refer the code snippet,to test open in a new window or tab)
Include the local logout mechanism and also logout from the github simultaneously.
Logout

How to do Sonar Bit Bucket OAuth Integration

I installed Sonar on my machine.I have Bit Bucket Repository also.How do i perform Sonar Bit Bucket OAuth Integration?
The Bitbucket Authentication Plugin (Github: sonar-auth-bitbucket) seems to be what you're looking for.
This plugin enables user authentication and Single Sign-On via Bitbucket.

Best way of building oauth into Jenkins Plugin

I am working on a Jenkins plugin that uses the new Bitbucket Build Status API. The best way to access the API is using oauth.
What is the best way of building oauth into my Jenkins plugin? Should I use a oauth Java library or is there another Jenkins plugin I can depend my plugin on?
How would the process of "connecting" Jenkins and my plugin to the Bitbucket account (granting access and storing the tokens)?
There is already a plugin for Jenkins that does extacly what you need I guess and use OAuth for authentication. Just take a look to the plugin.

Working with jenkins credentials

I want to know how to Create the credentials that can be used by Jenkins and by jobs running in Jenkins to connect to 3rd party services.
You should specify which 3rd party service you will work on.
Below is an example of credentials with bitbucket
I am now working with Jenkins ver. 1.568.
By default, there's Credentials feature. So, if you want to add a credential, just click on Add Credentials. For example, I'd like to add SSH Username with password, so I can use it in checking out code from bitbucket
Credentials plugin - provides a centralized way to define credentials that can be used by your Jenkins instance, plugins and build jobs.
Credentials Binding plugin - allows you to configure your build jobs to inject credentials as environment variables.
The third party plugins need to be installed in your Jenkins instance. For example, Assembla Auth Plugin allows you to authenticate to an Assembla repository.
Which 3rd party services are you working with?
Instead of using SSH Username with private key you can simply use username with password option

Resources