yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #36649
[Bug 1482701] [NEW] Federation: user's name in rules not respected
Public bug reported:
For a mapping rule (see local's user name and user id are different)
[
{
"local": [
{
"group": {
"id": "852d0dc079cf4709813583e92498e625"
}
},
{
"user": {
"id": "marek",
"name": "federated_user"
}
}
],
"remote": [
{
"any_one_of": [
"user1",
"admin"
],
"type": "openstack_user"
}
]
}
]
I can authenticate via federated workflo,w but the tokej JSON response
has (see id and name are identical):
u'user': {u'OS-FEDERATION': {u'groups': [{u'id': u'852d0dc079cf4709813583e92498e625'}],
u'identity_provider': {u'id': u'keystone-idp'},
u'protocol': {u'id': u'saml2'}},
u'domain': {u'id': u'Federated',
u'name': u'Federated'},
u'id': u'marek',
u'name': u'marek'}}}
This happens for both UUID and Fernet tokens.
** Affects: keystone
Importance: Medium
Assignee: Marek Denis (marek-denis)
Status: New
** Tags: federation
** Changed in: keystone
Importance: Undecided => Medium
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Keystone.
https://bugs.launchpad.net/bugs/1482701
Title:
Federation: user's name in rules not respected
Status in Keystone:
New
Bug description:
For a mapping rule (see local's user name and user id are different)
[
{
"local": [
{
"group": {
"id": "852d0dc079cf4709813583e92498e625"
}
},
{
"user": {
"id": "marek",
"name": "federated_user"
}
}
],
"remote": [
{
"any_one_of": [
"user1",
"admin"
],
"type": "openstack_user"
}
]
}
]
I can authenticate via federated workflo,w but the tokej JSON response
has (see id and name are identical):
u'user': {u'OS-FEDERATION': {u'groups': [{u'id': u'852d0dc079cf4709813583e92498e625'}],
u'identity_provider': {u'id': u'keystone-idp'},
u'protocol': {u'id': u'saml2'}},
u'domain': {u'id': u'Federated',
u'name': u'Federated'},
u'id': u'marek',
u'name': u'marek'}}}
This happens for both UUID and Fernet tokens.
To manage notifications about this bug go to:
https://bugs.launchpad.net/keystone/+bug/1482701/+subscriptions
Follow ups