Compare commits

..

7 Commits

4 changed files with 14 additions and 2 deletions

View File

@ -1,3 +1,11 @@
### **0.4.4** (2021-04-29)
- Fix previous release
### **0.4.3** (2021-04-29)
- Add infos about the plugin that defines authorizedMailDomains
### **0.4.2** (2021-04-29)
- Client side validation of allowed email domains

View File

@ -1,6 +1,6 @@
{
"name": "keycloakify",
"version": "0.4.2",
"version": "0.4.4",
"description": "Keycloak theme generator for Reacts app",
"repository": {
"type": "git",

View File

@ -170,7 +170,7 @@
out.push((function (){
<#attempt>
return "${authorizedMailDomains}";
return "${authorizedMailDomain}";
<#recover>
</#attempt>

View File

@ -124,6 +124,10 @@ export declare namespace KcContext {
passwordRequired: boolean;
recaptchaRequired: boolean;
recaptchaSiteKey?: string;
/**
* Defined when you use the keycloak-mail-whitelisting keycloak plugin
* (https://github.com/micedre/keycloak-mail-whitelisting)
*/
authorizedMailDomains?: string[];
};