Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
58 views

on Vue-Laravel-based environment,CSRF token is initialized server-side -non-sanctum, one token per run-: routes/web.php Route::get('csrf-token' , function(){ $token = csrf_token(); return response()-...
Mahmoud Tarek Mahmoud's user avatar
1 vote
1 answer
86 views

When making a request to the Superset endpoint /api/v1/security/csrf_token/, the response returns an error: { "msg": "Missing Authorization Header" } The issue only happens when ...
Muhamad Akbar Fadilah's user avatar
1 vote
2 answers
127 views

Im trying to build a login and create user with CSRF Tokens and it wont run i tried for 3 days now and it wont work because of CSRF token mismatch. i think im missing something small or idk if its a ...
ChichiKugel's user avatar
1 vote
1 answer
56 views

This is the part of the code in the Django + JavaScript Todo App that is responsible for deleting a note. I need a csrftoken for this, but the JS is showing me an error in the console. What did I do ...
Aram Madoyan's user avatar
0 votes
1 answer
85 views

In a Next.js App Router project (app/ directory), I’m trying to build a unified fetcher that can work both server-side and client-side, including correct handling of cookies, CSRF tokens, and headers. ...
Marko Ticinovic's user avatar
0 votes
2 answers
366 views

CSRF-TOKEN Mismatch: For a virtual host like app.local, when I submit a form using Inertia.js useForm().post(), it shows a 419 error in the app. Steps to Reproduce: I have just installed a new Laravel ...
Himel shipu's user avatar
1 vote
0 answers
59 views

The issue is encountered in the framework of Django. The related code lines are described below. These are the HTML lines, in which, the first div and the nested p will be filled with other HTML ...
Elyar Abade Pur's user avatar
0 votes
0 answers
51 views

How to test POST request, especially to an endpoint which checks for csrf token? @pytest.mark.asyncio async def test_fibonacci_pass(client): response = await client.post('/fibonacci', data=b"...
khteh's user avatar
  • 4,280
0 votes
0 answers
38 views

I'm developing a React Native app that makes a POST request to the following endpoint: https://www.animeunity.so/livesearch When I test the request extracted from my browser in Insomnia, it works ...
olippo's user avatar
  • 1
0 votes
0 answers
77 views

I have deployed a Laravel 11 application on AWS using Application Load Balancer (ALB) with Nginx as the web server. I’m using Redis for session and cache management. The application is built with ...
Hassan Shah's user avatar
1 vote
0 answers
81 views

I am trying to add an additional (and required) layer of security to my web-application: CSRF Token. The application uses DOTNET as backend and Vue as frontend, but I do not know where to start... I ...
Alessandro Conti's user avatar
0 votes
1 answer
162 views

I have a Sring Boot 3.3.0 backend application with Spring Security 6.3.0. The application is a backend for a website, the website itself is written separately in Angular, including the login form. I ...
Gábor Major's user avatar
1 vote
1 answer
213 views

I'm trying to use csrf tokens with my Flask app, but I noticed after a little bit of the site being open(1 hour), it wouldn't work unless I reloaded, so I did a little testing and found out its ...
Caiden's user avatar
  • 347
0 votes
2 answers
101 views

I'm working in Codeigniter 4 with CSRF protection enabled. I have an AJAX call in an attached js file, and I can't figure out how to generate the CSRF token. Previously, I have done it in php files ...
xanabobana's user avatar
0 votes
1 answer
198 views

I'm encountering an issue with CSRF token validation in my PHP application. Specifically, when I try to delete multiple entries using the same CSRF token, I receive a "CSRF attack detected" ...
dezeer's user avatar
  • 39
1 vote
0 answers
64 views

Used Laravel 8 ======= Google translate When users sign up, I provide a website screen where they can select various account types. When the user selects a type, the mobile phone authentication ...
C Hy's user avatar
  • 11
0 votes
1 answer
45 views

I have a web application made in Django, I build it and run it in Linux Redhat 8 and it works fine. Trying to run it on Windows using Docker allows me to get into webpage, but I can't login, I just ...
andre's user avatar
  • 9
0 votes
0 answers
82 views

I have a strange problem, I have a spring boot backend and angular frontend from localhost:4200 The csrf works perfectly from postman, but does not work from angular I don't understand the problem, I ...
Davide Balice's user avatar
0 votes
0 answers
124 views

So I've managed to get my login form working in React hooked up to Laravel server side by initially setting 'support_credentials' to true in cors.php, having the SESSION_DRIVER set to 'file', and then ...
Sen Thotawatte's user avatar
0 votes
1 answer
123 views

I'm developing a desktop application where users can log in using credentials from my Django website's database. The goal is for users to be able to create posts on the Django website (forum) through ...
Anton's user avatar
  • 13
0 votes
0 answers
124 views

I am experiencing intermittent CSRF token mismatch errors in my Django application, specifically on the login, sign-up, and admin login pages. Environment: Django version: 4.2 - 4.2.10 Middleware ...
btavares's user avatar
  • 353
1 vote
1 answer
141 views

here is my view for login functionality class LoginView(View): def get(self, request): return render(request, 'login.html') def post(self, request): print('in post') ...
Purva Dusra's user avatar
0 votes
0 answers
93 views

I was developing my Spring Boot app, with CSRF disabled in my Security Config: http.csrf().disable(). But then I read that it is necessary to keep my website safe, so I turned it back on: import ...
CyberLight 64's user avatar
-1 votes
1 answer
95 views

I am very new to django. i am trying to create a login form in django but when i write the csrf_token line after the tag it is showing in the browser view. everything is very confusing for me i don't ...
ZarakKahn's user avatar
1 vote
0 answers
591 views

I have a Laravel project working on my server with my-domain.com perfectly. I want to upgrade it to beta version, but won't reflect it to live until complete upgrade. So I setup subdomain(ex: dev.my-...
Web Star's user avatar
  • 432

1
2 3 4 5
10