fetch-client icon indicating copy to clipboard operation
fetch-client copied to clipboard

CSRF tokens in http-fetch

Open ed11s8c opened this issue 7 years ago • 3 comments

Does Aurelia have a setting for generating CSRF tokens in POST requests?

My use case in particular is using Aurelia to POST data back to an ASPNET CORE web api which would verify the header.

If there is no current functionality are there any plans to include this?

ed11s8c avatar Mar 10 '17 18:03 ed11s8c

We don't have this now but we could certainly add it. It seems like a great opportunity for a community contribution. Would you be interested in helping out with that?

EisenbergEffect avatar Mar 11 '17 04:03 EisenbergEffect

async triageQuestion(id) =>{
 respondSameDay()
 let response = await getResponseFromOP( { timeout : 4weeks } )
 if(!response) {
    closeQuestion(id,randomReason())
 }
}

Alexander-Taran avatar Jan 16 '19 19:01 Alexander-Taran

I think we might want to consider this still, even though it's been a while. We just haven't had someone focused on this particular work.

EisenbergEffect avatar Jan 17 '19 00:01 EisenbergEffect