{"id":15422215,"url":"https://github.com/ugreg/pcf-authentication","last_synced_at":"2025-03-28T04:27:54.282Z","repository":{"id":95939186,"uuid":"239816895","full_name":"ugreg/pcf-authentication","owner":"ugreg","description":"💪🏽 Power Apps Component Framework Authentication","archived":false,"fork":false,"pushed_at":"2020-06-23T09:13:57.000Z","size":2266,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-19T23:46:21.835Z","etag":null,"topics":["authentication","openid","powerappscomponentframework","react","typescript"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ugreg.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-02-11T17:01:03.000Z","updated_at":"2024-10-23T01:25:47.000Z","dependencies_parsed_at":null,"dependency_job_id":"e6d99104-21fa-44cd-bc97-270ce9218d8f","html_url":"https://github.com/ugreg/pcf-authentication","commit_stats":{"total_commits":56,"total_committers":1,"mean_commits":56.0,"dds":0.0,"last_synced_commit":"75730f7059f6da5fd06850ddbe6b1deeb356f64e"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ugreg%2Fpcf-authentication","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ugreg%2Fpcf-authentication/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ugreg%2Fpcf-authentication/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ugreg%2Fpcf-authentication/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ugreg","download_url":"https://codeload.github.com/ugreg/pcf-authentication/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245969129,"owners_count":20702198,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["authentication","openid","powerappscomponentframework","react","typescript"],"created_at":"2024-10-01T17:37:18.743Z","updated_at":"2025-03-28T04:27:54.255Z","avatar_url":"https://github.com/ugreg.png","language":"C#","readme":"\u003cp align=\"center\"\u003e\u003cimg src=\"img/red.png\"\u003e\u003c/p\u003e\n\n| \u003cimg src=\"img/poke.svg\" height=\"16\"\u003e [![License: MIT](https://img.shields.io/badge/License-MIT-grey.svg)](https://opensource.org/licenses/MIT) |\n| :- |\n\n# Power Apps Component Framework Authentication\n\n[App package size workaround](https://github.com/MicrosoftDocs/powerapps-docs/issues/1129#event-3115417141)\n\nRun with `msbuild /t:restore` on Visual Studio cmd line. [Import the into the CDS SQL Database](https://docs.microsoft.com/en-us/powerapps/developer/component-framework/use-sample-components) from the UI or using a script. Located in `bin\\debug`.\n\nUses [Office UI Fabric](https://developer.microsoft.com/en-us/fabric#/get-started) styles and controls.\nUses [OpenId Client Settings](https://github.com/IdentityModel/oidc-client-js/wiki#other-optional-settings).\n\nAuthenticate using `pac auth`. In the component folder at the package.json level.\n```\npac solution init --publisher-name Greg --publisher-prefix grdegr\npac solution add-reference --path .\\AuthenticationComponent\nmsbuild /t:restore\nmsbuild\n```\n\nPush Component to CDS.\n```\npac pcf push -pp grdegr -v minimal\n```\n\nCreates a `prefix_Namespace.ComponentName` control if changes are made to any of it's resource. The WebResource containing all of these PCF resources are located in `prefix_Namespace.ComponentName/bundle.js`.\n\nIf you face this `Error: WebResource content size is too big.` can use temporarily use [this hack](https://parthimscrm.wordpress.com/2016/05/10/webresource-content-size-is-too-big-microsoft-dynamics-crm-error-code-0x8004f114/) that involves increasing the size limit of email attachments from the 5120 KB to something larger.\n\n[Connect pac to CDS](https://docs.microsoft.com/en-us/powerapps/developer/component-framework/import-custom-controls#connecting-to-your-environment)\n\n\n\n1. Make sure global action step is activated\n2. Make sure global action step is registered in Plug-in registration tool\n3. deploy.bat \n4. ","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fugreg%2Fpcf-authentication","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fugreg%2Fpcf-authentication","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fugreg%2Fpcf-authentication/lists"}