Friday, October 3, 2025

mananully download provisioning files

  • Manually Manage Profiles and Symlink:
    • Close Xcode.
    • Clear the old location: Ensure the ~/Library/MobileDevice/Provisioning Profiles folder is empty or remove its contents.
    • and clear ~/Library/Developer/Xcode/UserData/Provisioning\ Profiles
    • Create a symbolic link: Open Terminal and execute the following command to link the old location to the new one:

 ln -s ~/Library/Developer/Xcode/UserData/Provisioning\ Profiles ~/Library/MobileDevice/Provisioning\ Profiles

Thursday, August 21, 2025

docker

docker build -t eapsaw:1.0 . (create and upload image to local docker)

docker run -p 8080:8080 -p 9990:9990 eapsaw:1.0  (create docker contain and run image with mapping port 8080 9990)

when you run jboss, make sure in standalone.xml, you set public interface to 0.0.0.0 to accept all ips.

 <interfaces>

        <interface name="management">

            <inet-address value="${jboss.bind.address.management:127.0.0.1}"/>

        </interface>

        <interface name="public">

            <inet-address value="${jboss.bind.address:0.0.0.0}"/>

        </interface>

    </interfaces>


wsl --shutdown (terminate docker)

servicesRestart-Service -Name "Winmgmt" -Force

restart docker desktop (lanuch app)

Wednesday, May 14, 2025

Azure registered app

https://adatum.no/azure/azure-active-directory/azure-application-registrations-enterprise-app-managed-identities

RBAC (role-based Access Control) in azure is done by adding role assignment. 

Microsoft has a very robust identity platform in Azure AD. And by creating an application registration you can use this platform to authorize and authenticate various and multiple clients (Mobile, web apps, etc).

When creating an application registration you establish a trust relationship between the Microsofts identity platform and your custom application, meaning you trust Microsoft, but Microsoft does not trust your application in the same way.

You can create single-tenant, multi-tenant, and Microsoft (liveid) based app registrations or a combination of them. But the application definition is only tied to its home directory.

Simplest terms, app registrations are identities for software applications. Rather than verifying a users identity and auth, you can tell an azure application to verify another applications identity. Good luck & have fun!

Look at setting down there, it tries to get a bearer token by login with a registered app sampleOIDC with scope of azure keyvalue. 







Now when you call keyvalue api, you can add application as a memeber like an AD to the access permssion instead of individual AD account. It is more robust.