# HG changeset patch # User Marcin Kuzminski # Date 2019-02-26 16:24:12 # Node ID f31c3a2f04fc70c423cb1045326ce76068818eed # Parent 3910c05726088898f74057721fc0687ece1b5d5f docs: updated saml bulk instructions diff --git a/docs/auth/auth-saml-bulk-enroll-users.rst b/docs/auth/auth-saml-bulk-enroll-users.rst --- a/docs/auth/auth-saml-bulk-enroll-users.rst +++ b/docs/auth/auth-saml-bulk-enroll-users.rst @@ -32,9 +32,9 @@ The most important this id needs to be u In [1]: saml2user = { ...: # OneLogin, uses externalID available to read from in the UI - ...: 123: {'id: '48253211'}, + ...: 123: {'id': '48253211'}, ...: # for Google/DuoSecurity email is also an option for unique ID - ...: 124: {'id: 'email@domain.com'}, + ...: 124: {'id': 'email@domain.com'}, ...: } @@ -70,7 +70,7 @@ Enter in the ishell prompt ...: new_external_identity.external_id = external_id ...: new_external_identity.external_username = '{}-saml-{}'.format(user.username, user.user_id) ...: new_external_identity.provider_name = provider - ...: new_external_identity.local_user_id = user_id + ...: new_external_identity.local_user_id = user.user_id ...: new_external_identity.access_token = '' ...: new_external_identity.token_secret = '' ...: new_external_identity.alt_token = ''