augustin-wien / augustina-backend

An open-source web shop designed for selling magazines on the street.
GNU Affero General Public License v3.0
7 stars 0 forks source link

feat: add customer to keycloak for digital licenses #144

Closed nanu-c closed 10 months ago

nanu-c commented 10 months ago

Type of change

Description

CHANGES

This change adds the creation of a customer in keycloak if a digital license item was purchased and verified. A license item holds now a license item group and the user is added to this group to get access to the corresponding edition in wp.

IMPORTANT TO KNOW

This needs changes in the frontend in order to configure the licenseGroup for keycloak to be set dynamically e.g. for new editions of the epaper. Also i changed the log.error(err) to a more meaningful output in order to debug the queries better. The parser should now update

TODO

Send emails

Checklist: