Federation protocol creation gives error
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Identity (keystone) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
I am trying to configure OIDC with keystone.
I have followed the below steps to create the federated resources.
source accr/admin/admin
export OS_IDENTITY_
openstack domain create federated_domain
openstack group create federated_users
openstack role add --group federated_users --domain federated_domain admin
openstack identity provider create --remote-id https:/
export remote_
cat > rules.json <<EOF
[
{
"local": [
{
},
}
}
],
"remote": [
{
}
]
}
]
EOF
openstack mapping create --rules rules.json myidp_mapping
however the step to create the federation protocol is giving me errors
openstack federation protocol create mapped --mapping myidp_mapping --identity-provider myidp
I'm getting the below error:
string indices must be integers (HTTP 400) (Request-ID: req-85e59791-
The first time i created a mapping and a protocol things were fine. But when i deleted the older mapping and re-created new rules for mapping and tried creating the protocol, i got the above error
Where is ${remote_type} coming from in the mapping? We do provide several examples of mappings in our documentation in case that helps [0]. Based on the error message, I would assume this to be an issue with the mapping itself.
[0] https:/ /docs.openstack .org/developer/ keystone/ federation/ federated_ identity. html#tips