Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Auth: Inconsistency on check of organisation credentials #1931

Closed
jelmerterwal opened this issue Feb 28, 2023 · 2 comments
Closed

Auth: Inconsistency on check of organisation credentials #1931

jelmerterwal opened this issue Feb 28, 2023 · 2 comments

Comments

@jelmerterwal
Copy link
Contributor

When using the drawup contract API and using the responding 'message' part for a customer that has an '&' in their 'OrganizationCredential' it will introduce problems when verifying the credentials at the other side (other vendors node).

Example response;

Token request validation failed, legal entity mismatch (expected name=xxx & xxx, actual name=xxx & xxx, expected city=xx, actual city=xx)
@reinkrul reinkrul changed the title Inconsistency on check of organisation credentials Auth: Inconsistency on check of organisation credentials Feb 28, 2023
@reinkrul
Copy link
Member

Due to Mustache template rendering in auth/contract/template.go:99; variables with & gets replaced with &

@reinkrul
Copy link
Member

reinkrul commented Mar 3, 2023

Fixed by #1937

@reinkrul reinkrul closed this as completed Mar 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants