Skip to content

Instantly share code, notes, and snippets.

View brionmario's full-sized avatar
🕯️
Candle light coding

Brion Mario brionmario

🕯️
Candle light coding
View GitHub Profile
@brionmario
brionmario / decope-flow.json
Created February 28, 2025 10:36
Sample payload generated by Descope Flows -> Email + Password
{
"flow": {
"id": "test",
"name": "Test",
"description": "",
"dsl": {
"startTask": "1",
"tasks": {
"0": {
"name": "End",
@brionmario
brionmario / widgets.json
Last active December 30, 2024 07:32
WSO2 IS - Sign Up Composer Widget Schema
[
{
"category": "WIDGET",
"type": "RECAPTCHA",
"version": "0.1.0",
"deprecated": false,
"display": {
"label": "reCAPTCHA",
"image": "https://www.gstatic.com/recaptcha/api2/logo_48.png"
},
@brionmario
brionmario / composer-payload.json
Last active November 22, 2024 09:01
WSO2 IS - Sign Up Composer Payload Schema
{
"flow": {
"pages": [
{
"id": "flow-page-1",
"nodes": [
"flow-node-1"
]
},
{
@brionmario
brionmario / nodes.json
Last active December 30, 2024 07:20
WSO2 IS - Sign Up Composer Nodes Schema
[
{
"category": "NODE",
"type": "STEP",
"version": "0.1.0",
"deprecated": false,
"display": {
"label": "Step",
"image": "https://www.svgrepo.com/show/448632/step.svg"
},
@brionmario
brionmario / components.json
Last active December 30, 2024 07:43
WSO2 IS - Sign Up Composer Component Schema
[
{
"category": "FIELD",
"type": "INPUT",
"version": "0.1.0",
"deprecated": false,
"variant": "TEXT",
"display": {
"label": "Text Input",
"image": "https://www.svgrepo.com/show/437311/textbox.svg"
@brionmario
brionmario / is-product-config.ts
Created August 14, 2023 10:02
Asgardeo/IS Product Config Sample POC
module.exports = {
head: `
${head}
<!-- Product Specific SEO Tags -->
`,
features: [
"@asgardeo/user-management",
[
"@asgardeo/quickstart",
{
@brionmario
brionmario / terminal.sh
Created August 6, 2022 09:53
[Blog][terminal] How to fix "Support for the experimental syntax '<OPERATOR>' isn't currently enabled"
yarn add -D @babel/plugin-proposal-logical-assignment-operators
@brionmario
brionmario / babel.config.json
Created August 6, 2022 09:49
[Blog][babel.config.json] How to fix "Support for the experimental syntax '<OPERATOR>' isn't currently enabled"
{
"plugins": [ "@babel/plugin-proposal-logical-assignment-operators" ],
"presets": [
[
"babel-preset-gatsby",
{
"targets": {
"browsers": [
">0.25%",
"not dead"
@brionmario
brionmario / layout.js
Created August 6, 2022 08:12
[Blog][layout.js] How to fix "Support for the experimental syntax '<OPERATOR>' isn't currently enabled"
title ||= component.displayName
description ||= component.description
@brionmario
brionmario / config.yml
Created July 24, 2022 12:36
[Blog][configs.advanced] Branding on Steroids
privacy_policy: https://drogo-nft-demo.web.app/privacy
terms_of_ervice: https://drogo-nft-demo.web.app/terms-of-service
cookie_policy: https://drogo-nft-demo.web.app/cookie-policy