You signed in with another tab or window.Reload to refresh your session.You signed out in another tab or window.Reload to refresh your session.You switched accounts on another tab or window.Reload to refresh your session.Dismiss alert
Steps 2 to 7happen in the background and are transparent to the user.
59
+
Steps 2 to 7happens in the background and are transparent to the user.
60
60
</div>
61
61
62
62
1. A user logs in to Codefresh and enters their email
63
-
2. The user is redirected to Codefresh Service Provider (SP) to initiate SSO.
64
-
3. The user’s browser is then redirected to the customer IdP.
65
-
4. Once authenticated by the corporate side, a SAML token is sent to the user’s browser.
66
-
5. The SAML assertion is then forwarded to Codefresh SP.
67
-
6. If you are a valid Codefresh user for this SSO connection, an SSO token is returned to the user’s browser.
68
-
7. The user’s browser then returns a token to Codefresh and access is granted for your account.
63
+
2. The user is redirected to Codefresh Service Provider (SP) to initiate SSO
64
+
3. The user’s browser is then redirected to the customer IdP
65
+
4. Once authenticated by the corporate side, a SAML token is sent to the user’s browser
66
+
5. The SAML assertion is then forwarded to Codefresh SP
67
+
6. If you are a valid Codefresh user for this SSO connection, an SSO token is returned to the user’s browser
68
+
7. The user’s browser then returns a token to Codefresh and access is granted for your account
69
69
70
-
##Settingup SAMLintegration
70
+
##SettingUp SAMLIntegration
71
71
72
72
Go to your SSO settings by clicking on*Account settings* on the left sidebar in the Codefresh UI and then selecting*Single Sign-on* again from the left sibar (or visit directly[https://g.codefresh.io/account-admin/sso](https://g.codefresh.io/account-admin/sso))
73
73
@@ -77,23 +77,24 @@ Fill in the fields:
77
77
78
78
**Client Name* - leave the field empty and it will get an autogenerated value once you save the settings.
79
79
**Display Name* - any arbitrary name you want to give in this integration.
80
-
**IDP entry* - The SSO endpoint of your Identity Provider.
81
-
**Application Certificate* - The security certificate of your Identity Provider. Paste the value directly on the field. Do not convert to base64 or any other encoding by hand.
80
+
**IDP Entry* - The SSO endpoint of your Identity Provider.
81
+
**Application Certificate* - The security certificate of your Identity Provider. Paste the value directly on the field. Do not convert to base64 or any other encoding by hand.
82
+
**Assertion URL* -`https://g.codefresh.io/api/auth/<your_codefresh_client_name>/callback` (where <your_codefresh_client_name> is taken from the SSO configuration you created on the section above. It was automatically generated by Codefresh after saving the SSO settings).
82
83
83
84
Click the*SAVE* button and make sure to note down the`Client Name` that was autogenerated.
84
85
85
86
Then in the settings of your Identity Provider create a new Service Provider and provide the following:
86
87
87
-
**Service Provider SSOendpoint* -`https://g.codefresh.io/api/auth/<your_codefresh_client_name>/callback` (where `<your_codefresh_client_name>` is taken from the SSO configuration you created on the section above. It was automatically generated by Codefresh after saving the SSO settings.
88
+
**Service Provider SSOEndpoint* -(Assertion consumer service URL) -`https://g.codefresh.io/api/auth/<your_codefresh_client_name>/callback`
88
89
**Service Provider Entity ID* - `g.codefresh.io`
89
90
90
91
The mandatory fields needed for SAML assertions are:
91
92
92
-
1. firstName - user first name.
93
-
1. lastName - user last name.
94
-
1. email - user email.
93
+
1. firstName - user first name
94
+
1. lastName - user last name
95
+
1. email - user email
95
96
96
-
>Notice that these settings are for theSAAS version of Codefresh. For an on-premises Codefresh setup you need to use the URLs that match your installation.
97
+
>Notice that these settings are for theSaaS version of Codefresh. For an on-premise Codefresh setup you need to use the URLs that match your installation.
97
98
98
99
Once everything is finished, you[should test the integration]({{site.baseurl}}/docs/administration/single-sign-on/sso-setup-oauth2/#testing-your-identity-provider). Once it is working proceed to the next steps that are: