Skip to content

Instantly share code, notes, and snippets.

@rksk
rksk / readme.md
Last active March 9, 2022 12:30
Publishing WSO2 Identity Server analytics events directly to a database

Tested with WSO2 Identity Server 5.10.0

Enable event publishing in the deployment.toml with following config

[identity_mgt.analytics_login_data_publisher]
enable=true

Define a new datasource for event publishing in the deployment.toml

@rksk
rksk / template.html
Created December 5, 2019 17:23
WSO2 TOTP HTML mail template
<table align="center" cellpadding="0" cellspacing="0" border="0" width="100%"bgcolor="#f0f0f0">
<tr>
<td style="padding: 30px 30px 20px 30px;">
<table cellpadding="0" cellspacing="0" border="0" width="100%" bgcolor="#ffffff" style="max-width: 650px; margin: auto;">
<tr>
<td colspan="2" align="center" style="background-color: #333; padding: 40px;">
<a href="http://wso2.com/" target="_blank"><img src="http://cdn.wso2.com/wso2/newsletter/images/nl-2017/wso2-logo-transparent.png" border="0" /></a>
</td>
</tr>
<tr>
@rksk
rksk / note.txt
Last active October 30, 2023 10:07
MySQL: Logging table changes into another table using triggers
This is related to the blog post: https://medium.com/p/5215c77083e5