Better HN
topnewbestaskshowjobs
Log inSign up

1337badger

2 karma · joined Sep 11, 2014 (12y ago) · 5 submissions

Submissions

comment 12y ago · link · parent

I am referring to the application you are writing

comment 12y ago · link · parent

It really depends, it will purge on browser close yes but it still allows access that make not have been intended by your application for use by others also the refresh token may also be stored. The danger is in someone getting this token from an active session and using it outside of its intended parameters not the normal use case.

comment 12y ago · link · parent

Usually the token kept in memory is one distributed by the application and is not that which the services send back. This allows greater restriction on actions and make it far easier to revoke effectively

comment 12y ago · link · parent

From what I gather you are leaving the api_tokens for the services in local memory. This means that the user or anyone else that can get there hands on the token can act on the service providers api masquerading as your application.

comment 12y ago · link · parent

This is a terrible idea that is full of security holes! If you can call having paper-thin pseudo security a hole.