Configuration Reference
Last updated
Last updated
The saml-to.yml
configuration has a relatively simple Configuration Syntax and can easily be modified by hand.
Generalized Structure (and )
(Required)
Must be 20220101
.
(Optional)
(Required)
A map of Service Providers, keyed by a unique name.
For each provider, the following attributes apply:
(Required)
A URL of the Provider's Entity ID (aka Audience, Login URL)
(Required)
The URL of the Providers Assertion Consumer Service URL (ACS URL)
(Optional)
If SP-Initiated Logins, this is the Login URL of the Service Provider.
For IdP-Initiated Logins, leave this blank.
(Optional)
If a custom nameId
is required by the Service Provider, you can specify it here.
Example - Setting the email address to be first and last name at a specific domain:
(Optional)
Allowed Values: 'id', 'login', 'email', 'emailV2'
If the Provider requires a specific NameId Format, it can be defined here.
If id
, the NameIdFormat in the SAML Response will be: urn:oasis:names:tc:SAML:2.0:nameid-format:persistent
and be set to user.github.id
(or the value of nameId
, if set)
If login
, the NameIdFormat in the SAML Response will be: urn:oasis:names:tc:SAML:2.0:nameid-format:transient
and be set to user.github.login
(or the value of nameId
, if set)
If email
, the NameIdFormat in the SAML Response will be: urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress
and be set to user.github.email
(or the value of nameId
, if set)
If emailV2
, the NameIdFormat in the SAML Response will be: urn:oasis:names:tc:SAML:2.0:nameid-format:email
and be set to user.github.email
(or the value of nameId
, if set)
(Optional)
A Key/Value Map or strings as attributes to send in the SAML Request.
Note: Ensure all values are wrapped in Quotes to ensure that they are sent to the Service Provider as strings, unless otherwise desired by the Service Provider.
(Required)
For each provider, the following attributes apply:
(Optional)
Allowed properties: github
(which is a list of strings of GitHub Logins)
(Optional)
A list of role objects with the following properties:
(Required)
The role name at the Service Provider
(Optional)
(Optional)
Properties: github
(which is a list of repositories)
A map of Key/Value Pairs that can be used in and permissions
keys and values.
For more information, see .
The provider key is referenced 1-1 in the object.
A map of Service Providers, keyed by provider keys defined in .
The list of users, same structure as above.