Hello Scott,
thank you for pointing out those examples in the micro services, that
was enough to get me started.
At least for our very simple use case, the following micro service is
sufficient to do what we need:
from satosa.micro_services.base import
ResponseMicroService
class EntityID(ResponseMicroService):
"""
Expose SAML 2.0 EntityID as attribute.
"""
def process(self, context, data):
data.attributes['entityID'] = data.auth_info.issuer
return super().process(context, data)
I am loading it from `CUSTOM_PLUGIN_MODULE_PATHS` now, added a mapping
for `entityID` to my `internal_attributes.yaml` and added that attribute
to a scope in the OIDC frontend configuration.
This way, everything is working fine now. :)
All Best,
Chris
--
Christian Franke
reelport GmbH
Karl-Heine-Str. 93
04229 Leipzig
Germany
Email: christian.franke at
picturepipe.com
GPG-KeyID: 0xB657CF42AE512BEE
Phone: +49-157-34575984
Web:
http://www.picturepipe.com/
CEO Tilman Scheel
Amtsgericht Duisburg, HRB 17622
USt-IdNr.: DE814323473