Skip to content

Commit

Permalink
Merge pull request #1106 from c2corg/hotfix-sync-sso
Browse files Browse the repository at this point in the history
Add topo_id in SSO login payload
  • Loading branch information
cbeauchesne authored Jun 15, 2021
2 parents aec1ab5 + 2ce2b58 commit cc01fe7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions c2corg_api/security/discourse_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@ def create_response_payload(self, user, nonce, url_part):
'external_id': user.id,
'username': user.forum_username,
'name': user.name,
'custom.user_field_1': user.id,
}

key = self.sso_key.encode('utf-8')
Expand Down

0 comments on commit cc01fe7

Please sign in to comment.