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

pdf/Certificate: Get donor's names from session token #1690

Merged
merged 1 commit into from
Dec 19, 2023

Conversation

sashko9807
Copy link
Member

Anonymous donations don't have personId to find them by users, thus get donor's names from session token.

REQUIRED keycloak changes:
Go to keycloak->webapp->Client scopes -> profile -> mappers -> Create
Fill the fields with the following values:
Name: company
Mapper Type: User Attribute
User Attribute: companyName
Token Claim Name: company
Claim JSON type: String
Save

Anonymous donations don't have personId to find them by users
@sashko9807 sashko9807 added status: awaits API keycloak change required When a commit requires change in keycloak(e.g. adding new attribute to keycloak's session token) labels Dec 18, 2023
Copy link

github-actions bot commented Dec 18, 2023

✅ Tests will run for this PR. Once they succeed it can be merged.

@sashko9807 sashko9807 added the run tests Allows running the tests workflows for forked repos label Dec 18, 2023
@github-actions github-actions bot removed the run tests Allows running the tests workflows for forked repos label Dec 18, 2023
@slavcho slavcho merged commit e385e2e into podkrepi-bg:master Dec 19, 2023
12 of 15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
keycloak change required When a commit requires change in keycloak(e.g. adding new attribute to keycloak's session token)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants