Category "single-page-application"

How to fix Call to undefined method App\Models\TableName::factory?

I have created a seeder that populates data in Laravel but was having a BadMethodCallException Call to undefined method App\Models\Project::factory(). Why is th

Is there a way to show file uploading progress bar when uploading a file from a blazor WebAssembly (WASM) to a ASP.NET Core server (blazor hosted)

As the title says, I'm looking for a way to inform users about the file upload progress of a file uploaded from the Blazor WebAssembly (WASM) client to the serv

Laravel Sanctum throws 401 Unauthenticated when using Postman

I have problem with Laravel Sanctum. My dev environment is located in subdomain. All my API routes are prefixed with /api. Here are my settings: .env APP_URL=ht

Azure AD B2C associate user flow with an app one-to-one

While researching how to require multi-factor auth for a specific app, I came across this challenge: It's possible to create User flows (policies) in Azure AD

Is using tabs for navigation a violation of the ARIA specification?

The current title is as carefully reworded by somebody else. I could rephrase it as Do ARIA specs allow the use of tabs-based implementation of a navigation men

Is Svelte limited to single-page applications (SPA)?

The Svelte documentation states that: Svelte converts your app into ideal JavaScript at build time, rather than interpreting your application code at run time.

Axios response.data return HTML instead of an object

I need help about Axios. I develop a SPA webapp on Laravel 6 (with package SPARK) and VueJS (version 2). On a Vue component, I want to retrieve datas from my b

OAuth 2 can i use Post Form Response and PCKE at the same time?

I am trying to secure an SPA, now there is recommendations to use PCKE which is fine, there is also a lot of articles which suggest use post form response, howe

Angular 13 use proxy.conf.json in production

I use angular in version 13 with proxy.conf.json in development. I am try to use this proxy in production and generate a dist file with ng build but it's not wo

How do I publish a .NET Core + Angular single page app for different environments?

Some additional context: I created a solution using the Angular project template with ASP.NET Core in Visual Studio 2019. The app has several different environm

Web App SPA & OIDC: How to properly authenticate before accessing the front?

I have a regular web app, composed as usual of a frontend SPA (angular) and a backend. The server calls are protected from unauthorized calls through authentica

Downloading a file using React and Typescript

I am trying to build a single page app using React. I came up with this hacky way to download a local file (residing in the public directory). I have two questi

net::ERR_CERT_AUTHORITY_INVALID in ASP.NET Core

I am getting the net::ERR_CERT_AUTHORITY_INVALID error in ASP.NET Core when I try to request my Web API from an SPA. The first solution to fix the issue was to

How to intercept back button in a React SPA using function components and React Router v5

I'm working in a SPA in React that doesn't use React Router to create any Routes; I don't need to allow users to navigate to specific pages. (Think multi-page q

Laravel SPA (Vue) Authentication with cookie or token?

the more I read about Laravel Spa (Vue) authentication, the more I ask myself about the "best way" to authenticate with Sanctum. Official Laravel documentation

Can't start Angular application

Within the last few days, we have been encountering the following errors (and there doesn't seem to be match find in Google search): npm start ng serve Compil

Why is auth0 recommending not to store tokens in localStorage?

Auth0 provide extensive list of resources describing best practices for the authentication. Among them there's a constant stream of advice not to use localStora

What is the `js` gtags.js command?

The embed code for Google Analytics (well, GA via google tag manager's gtags.js) looks like: <!-- Global site tag (gtag.js) - Google Analytics --> <sc

Mui DataTable custom summary footer

Given the follow example: https://codesandbox.io/s/l49mrmvj67 Will it be possible to add a custom footer that will sum the current page Salary column and displa

How to use access_token to authenticate SPA with Laravel 5.4

I'm trying to authenticate my single page app (written in Marionette) with my Laravel 5.4 app. In my previous experience, an SPA would: send the username &