<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Phuge0708 on Medium]]></title>
        <description><![CDATA[Stories by Phuge0708 on Medium]]></description>
        <link>https://medium.com/@phuge0708?source=rss-065005f85c64------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*8aX5HsCyQTXXJA8o</url>
            <title>Stories by Phuge0708 on Medium</title>
            <link>https://medium.com/@phuge0708?source=rss-065005f85c64------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 20 Nov 2026 21:15:38 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@phuge0708/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Mendix Tip: Quickly Find Out What Page You Are On]]></title>
            <link>https://medium.com/@phuge0708/mendix-tip-quickly-find-out-what-page-you-are-on-620feb2a1b8e?source=rss-065005f85c64------2</link>
            <guid isPermaLink="false">https://medium.com/p/620feb2a1b8e</guid>
            <category><![CDATA[mendix]]></category>
            <category><![CDATA[mendix-developer]]></category>
            <category><![CDATA[mendix-world]]></category>
            <category><![CDATA[mendix-studio-pro]]></category>
            <category><![CDATA[mendix-tip]]></category>
            <dc:creator><![CDATA[Phuge0708]]></dc:creator>
            <pubDate>Fri, 12 Dec 2025 11:52:58 GMT</pubDate>
            <atom:updated>2025-12-15T07:28:09.844Z</atom:updated>
            <content:encoded><![CDATA[<p>Have you ever looked at a Mendix screen in your browser and wondered, <strong>“What is the name of this page in Studio Pro?”</strong></p><p>This trick lets you create a <strong>Special Bookmark</strong> in your browser that instantly tells you the exact <strong>Module</strong> and <strong>Page Name</strong> you are currently viewing!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/512/1*6rBk2B2DfnbOPblH8g_ysA@2x.jpeg" /></figure><h3>What You Need</h3><ul><li>Your Mendix app running in a browser.</li><li>A browser like Chrome, Firefox, or Edge.</li></ul><h3>The Special Code</h3><p>This is the special command (called JavaScript) that does the magic. You need to copy the <strong>entire line</strong>, starting with javascript:.</p><blockquote>javascript:(function(){var formPath = mx.ui.getContentForm().path;var path = formPath.split(‘/’);var moduleName = path[0];var pageName = path[1].split(‘.’);var documentName=pageName[0]; var output =”Module: “+moduleName+”\nDocument: “+documentName;prompt(output + “\n\nCopy document name to clipboard: Ctrl+C, Enter”, documentName);console.log(output);}());</blockquote><h3>Step-by-Step Guide: Making Your Special Bookmark</h3><h3>1. Copy the Code</h3><p>Copy the <strong>entire long line of code</strong> above.</p><h3>2. Make a New Bookmark</h3><ul><li><strong>Option A: Quickest Way</strong></li><li>Right-click anywhere on your bookmarks bar (the row near the top of your browser where you keep saved websites). or <strong>Ctrl + D</strong></li><li>Select <strong>Add page</strong> or <strong>Add bookmark</strong>.</li></ul><h3>3. Change the Bookmark</h3><p>Now, click more and add <strong>Name </strong>and <strong>Url</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/465/1*fOkymavL4TiRT9yUcnSBuA.png" /></figure><p><strong>Important Check:</strong> Make sure the code you pasted in the Address box still starts with javascript:.</p><h3>4. How to Use It!</h3><ol><li>Open your Mendix application and go to any screen/page.</li><li>Click the new <strong>Page Navigation</strong> bookmark on your bookmarks bar.</li><li>A small box will pop up right away!</li></ol><h4>The Result:</h4><p>The box will show you exactly what you need:</p><p><em>“Happy Mendix developing! Feel free to share this shortcut with your team.”</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=620feb2a1b8e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Auto-SSO for Mendix Developers (No Button Click Required)]]></title>
            <link>https://medium.com/@phuge0708/auto-sso-for-mendix-developers-no-button-click-required-7b7ee84daa9d?source=rss-065005f85c64------2</link>
            <guid isPermaLink="false">https://medium.com/p/7b7ee84daa9d</guid>
            <category><![CDATA[sso]]></category>
            <category><![CDATA[mendix]]></category>
            <category><![CDATA[oidc]]></category>
            <category><![CDATA[aws-sso]]></category>
            <category><![CDATA[aws]]></category>
            <dc:creator><![CDATA[Phuge0708]]></dc:creator>
            <pubDate>Wed, 10 Dec 2025 04:11:57 GMT</pubDate>
            <atom:updated>2025-12-12T16:26:42.826Z</atom:updated>
            <content:encoded><![CDATA[<p>In many corporate Mendix apps, users want the app to log them in automatically using their company account — without needing to click a “Login” button. This guide shows how to set up this automatic single sign-on (SSO) using the OIDC (OpenID Connect) module and Azure AD. It also includes a backup login page for users who are not in the permitted Azure AD group.</p><p>We all know that we can find the list of Azure Groups from Azure AD to whom we’ve provided certain set of App Roles i.e. either “Admin” or “User”.</p><p>these details through the following path:</p><blockquote>Azure Portal &gt; App Registration &gt; Click on Enterprise Application &gt; Users / Groups &gt; “XYZ” Group will have “Admin”/ “User” App Roles</blockquote><h3><strong>Overview</strong></h3><h4>The goal:</h4><p>When the app loads → automatically redirect users to Azure AD for login.</p><p>Only users belonging to a specific Azure AD group (e.g., “Reader”) should be authenticated.</p><ul><li>Users not in that AD group should see a custom login page.</li><li>No login button. No manual action.</li></ul><h4>Ensure:</h4><ol><li>Your Mendix app is registered in Azure AD.</li><li>In Azure AD → Your App Registration → Enterprise Application:</li></ol><ul><li>Assign users or groups.</li><li>Add your special group (e.g., Reader).</li></ul><ol><li>Only users in this group will receive a valid token for your app.</li><li>Download OIDC module</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/512/1*YwXrTAIFAxawn043v3zmew@2x.jpeg" /></figure><h3><strong>Implementation Steps:</strong></h3><h4><strong>Step 1 — Enable Anonymous Users</strong></h4><blockquote>Project → Security → Anonymous Users → Enable</blockquote><p>Assign <strong>‘NoRole’ </strong>to the anonymous user.</p><p><em>This is the temporary role given to unauthenticated visitors. They will land on a special homepage defined for this role.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-3LU52FKKdVzNFNag1gOaQ.png" /></figure><h4><strong>Step 2 — Create ‘NoRole’ Home Page</strong></h4><ul><li>Create a simple page, <em>‘AuthenticateSSO’</em></li><li>Give read access to ‘NoRole’ for this page</li><li>Set this page as a home Page for ‘NoRole’ user role</li><li>Create A single Data View inside page.</li><li>Set Data source: Nanoflow <strong><em>‘ACT_StartWebSignIn_Default’</em></strong></li></ul><p><em>(This nanoflow is available in USE ME folder of </em><strong><em>OIDC module</em></strong><em>. Duplicate it before use)</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6b2rLgDmwTjHqDpEFHaT5w.png" /></figure><h4><strong>Step 3 — Add fallback login page (Optional)</strong></h4><ul><li>Create a custom login page <em>(please refer to the official Mendix Documentation or search the Mendix Community Forums.)</em></li><li>Open <strong><em>‘ACT_StartWebSignIn_Default’ </em></strong>and set first activity as return value for nanoflow i.e <em>(ClientConfiguration)</em></li><li>Add created Custom login page on <strong>false path</strong> of <strong><em>‘</em></strong><em>Check if URL is not empty’ </em>decision activity.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/967/1*oJX9txAgEV33nS3QIVvWgQ.png" /></figure><h3><strong>Final Flow</strong></h3><p>Here’s the exact sequence:</p><ol><li>User opens the app.</li><li>User is anonymous → assigned the NoRole role.</li><li>NoRole homepage loads → Data view triggers nanoflow.</li><li>Nanoflow calls OIDC start sign-in flow:</li></ol><ul><li>User in Azure AD group → SSO → logged in</li><li>User not in group → nanoflow fails → show custom login page</li></ul><p><strong>No buttons. No user clicks.</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7b7ee84daa9d" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>