
Battle scarred developer's guide to Umbraco v17 - Entry Points
So now that bundles have replaced entry points as the place to integrate your Umbraco extension, do we still need entry points? Yes, i most cases you will still need an entry point, to initialize things like the authentication for your client to talk to the server. or if you are feeling really mischievous to unload other entries from the umbraco registry ! Register your entry point via a manifest. all the extension template will do this one for you, but to show the process export const manifests : Array < UmbExtensionManifest > = [ { name : " Do Stuff Client Entrypoint " , alias : " DoStuff.Client.Entrypoint " , type : " backofficeEntryPoint " , js : () => import ( " ./entrypoint.js " ), }, ]; this is then imported and registered via your bundle.manifest.ts file. Auth. The examples that you get with the templates contain most of the code you will need here for authentication. _host . consumeContext ( UMB_AUTH_CONTEXT , async ( authContext ) => { // Get the token info from Umbraco const
Continue reading on Dev.to
Opens in a new tab

![[MM’s] Boot Notes — The Day Zero Blueprint — Test Smarter on Day One](/_next/image?url=https%3A%2F%2Fcdn-images-1.medium.com%2Fmax%2F1368%2F1*AvVpFzkFJBm-xns4niPLAA.png&w=1200&q=75)

