Skip to content

Instantly share code, notes, and snippets.

@coordt
Created February 28, 2019 14:29
Show Gist options
  • Save coordt/0528b6429f65794cf82224d5557e40e9 to your computer and use it in GitHub Desktop.
Save coordt/0528b6429f65794cf82224d5557e40e9 to your computer and use it in GitHub Desktop.
[
{
"model": "saml2auth.identityprovider",
"pk": 1,
"fields": {
"name": "Peerfit",
"slug": "peerfit",
"metadata_url": "",
"permission_attrs": "{\"is_active\":true,\"is_staff\":true,\"is_superuser\":false}",
"sp_config": "{\"name_id_format\":\"urn:oasis:names:tc:SAML:2.0:nameid-format:persistent\",\"authn_requests_signed\":true,\"want_response_signed\":true,\"force_authn\":true,\"allow_unsolicited\":true,\"want_assertions_signed\":true,\"logout_requests_signed\":true,\"required_attributes\":[],\"optional_attributes\":[]}",
"user_lookup_attr": "emailaddress__email",
"default_next_url": "https://admin.peerfit.com/",
"default_groups": []
}
},
{
"model": "saml2auth.attributemap",
"pk": 1,
"fields": {
"identity_provider": 1,
"user_field": "first_name",
"saml_field": "firstname"
}
},
{
"model": "saml2auth.attributemap",
"pk": 2,
"fields": {
"identity_provider": 1,
"user_field": "last_name",
"saml_field": "lastname"
}
},
{
"model": "saml2auth.attributemap",
"pk": 3,
"fields": {
"identity_provider": 1,
"user_field": "username",
"saml_field": "email"
}
},
{
"model": "saml2auth.attributemap",
"pk": 3,
"fields": {
"identity_provider": 1,
"user_field": "emailaddress__email",
"saml_field": "email"
}
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment