Click here to Skip to main content
15,896,912 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
NewsHappy birthday... Pin
Ravi Bhavnani21-May-19 12:11
professionalRavi Bhavnani21-May-19 12:11 
GeneralRe: Happy birthday... Pin
Mike Hankey21-May-19 13:07
mveMike Hankey21-May-19 13:07 
GeneralRe: Happy birthday... Pin
Brisingr Aerowing21-May-19 14:18
professionalBrisingr Aerowing21-May-19 14:18 
GeneralRe: Happy birthday... Pin
RickZeeland21-May-19 20:24
mveRickZeeland21-May-19 20:24 
GeneralRe: Happy birthday... Pin
DaveAuld21-May-19 22:59
professionalDaveAuld21-May-19 22:59 
GeneralRe: Happy birthday... Pin
CPallini21-May-19 21:28
mveCPallini21-May-19 21:28 
GeneralRe: Happy birthday... Pin
CodeWraith22-May-19 0:20
CodeWraith22-May-19 0:20 
RantElephant Security For Elephant Public Facing Elephant API Pin
Nagy Vilmos21-May-19 5:18
professionalNagy Vilmos21-May-19 5:18 
Oh the merry [redacted]! Woe, woe and thrice woe! Woe is me, etc, etc, etc.

I firkin hate authorisation and I hate it even more when it's not standard.

We have an API - requests come in, json goes out. Simple as a very simple thing. Easier than negotiating with the EU. Can't go wrong...

Until...

I tried to add in some authentication...

Which does actually work, but not as expected.

I've got the lovely elephant token, it's one-way supper nice and lovely.

Problem is the api server is flask and the [demo] app is a nice spa with react/redux/Carlo Fandango Wide Wheels and six boxes of Hamlet.

How do I securely hold the fatherless token to give back to the api in the request header? My head is hurting from this. Security will be the death of me and/or this bloody app.Mad | :mad:
veni bibi saltavi

GeneralRe: Elephant Security For Elephant Public Facing Elephant API Pin
OriginalGriff21-May-19 5:46
mveOriginalGriff21-May-19 5:46 
GeneralRe: Elephant Security For Elephant Public Facing Elephant API Pin
Richard Deeming21-May-19 5:46
mveRichard Deeming21-May-19 5:46 
GeneralRe: Elephant Security For Elephant Public Facing Elephant API Pin
Gary Wheeler21-May-19 7:12
Gary Wheeler21-May-19 7:12 
GeneralRe: Elephant Security For Elephant Public Facing Elephant API Pin
Richard Deeming21-May-19 7:24
mveRichard Deeming21-May-19 7:24 
GeneralRe: Elephant Security For Elephant Public Facing Elephant API Pin
Gary Wheeler21-May-19 7:45
Gary Wheeler21-May-19 7:45 
GeneralRe: Elephant Security For Elephant Public Facing Elephant API Pin
OriginalGriff21-May-19 8:01
mveOriginalGriff21-May-19 8:01 
GeneralRe: Elephant Security For Elephant Public Facing Elephant API Pin
Slow Eddie22-May-19 2:03
professionalSlow Eddie22-May-19 2:03 
GeneralRe: Elephant Security For Elephant Public Facing Elephant API Pin
Slacker00721-May-19 8:11
professionalSlacker00721-May-19 8:11 
GeneralRe: Elephant Security For Elephant Public Facing Elephant API Pin
Richard Deeming21-May-19 8:52
mveRichard Deeming21-May-19 8:52 
GeneralRe: Elephant Security For Elephant Public Facing Elephant API Pin
Slacker00721-May-19 8:54
professionalSlacker00721-May-19 8:54 
GeneralRe: Elephant Security For Elephant Public Facing Elephant API Pin
RickZeeland21-May-19 9:38
mveRickZeeland21-May-19 9:38 
GeneralRe: Elephant Security For Elephant Public Facing Elephant API Pin
Gary Wheeler22-May-19 1:32
Gary Wheeler22-May-19 1:32 
GeneralRe: Elephant Security For Elephant Public Facing Elephant API Pin
RickZeeland22-May-19 2:27
mveRickZeeland22-May-19 2:27 
GeneralRe: Elephant Security For Elephant Public Facing Elephant API Pin
Dan Neely22-May-19 3:28
Dan Neely22-May-19 3:28 
GeneralRe: Elephant Security For Elephant Public Facing Elephant API Pin
Nagy Vilmos22-May-19 4:42
professionalNagy Vilmos22-May-19 4:42 
GeneralRe: Elephant Security For Elephant Public Facing Elephant API Pin
User 483504721-May-19 8:18
User 483504721-May-19 8:18 
GeneralRe: Elephant Security For Elephant Public Facing Elephant API Pin
Slacker00721-May-19 8:29
professionalSlacker00721-May-19 8:29 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.