Skip to content

Commit

Permalink
Fix "attribute_mapping" in build_authn_response() (#61)
Browse files Browse the repository at this point in the history
  • Loading branch information
pix666 authored Feb 7, 2020
1 parent 72efdec commit b83a322
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion djangosaml2idp/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ def build_authn_response(self, user, authn, resp_args, processor: BaseProcessor,

authn_resp = self.IDP.create_authn_response(
authn=authn,
identity=processor.create_identity(user, sp_config.get('attribute_mapping')),
identity=processor.create_identity(user, sp_config['config'].get('attribute_mapping')),
name_id=name_id,
userid=user_id,
sp_entity_id=sp_config['id'],
Expand Down

0 comments on commit b83a322

Please sign in to comment.