Questions tagged as 'token'

1
answer

Timer with active session time: Cook time expiration time - autal moment

I'm working with Angular, and when I save the access token in a cookie, I also save (in another cookie) its expiration time (30 minutes). I want to make a timer that shows the user how long he still has to log in, but I'm having some difficultie...
asked by 02.01.2019 / 11:59
1
answer

How to send token from the browser to the server?

How to send the browser jwt token to the php server with each request? Hi, I'm trying to use a token in my application, but I'm not sure how to do that. If possible, you could send an example token usage!     
asked by 07.11.2017 / 23:49
1
answer

How to request access token from server, only via frontend in a secure way, without human interaction?

Good people. I caught it here: I have an application on the frontend of a server, which needs to communicate with a Rest API on another server, without the client having to log in. The app that will request or send whatever it takes to authen...
asked by 13.12.2016 / 15:27
0
answers

(JAVA) Timeout for random token

I'm generating an alphanumeric token like this: SecureRandom secureRandom = new SecureRandom(); long longToken = Math.abs(secureRandom.nextLong()); String random = Long.toString(longToken, 16); I need a mechanism that defines the lifetime...
asked by 04.07.2018 / 00:43
0
answers

Send csfr_token from a client

I would like to know if you have a csrf_token from a client application for my webservice laravel Or do I have to disable larak's TOKEN check? If you have how to send, how is it? What I want to test from Postman and later an application...
asked by 06.04.2018 / 18:21
1
answer

About URL with token

Good evening! Just take a question. I'm developing an android application and will get information in json, but when I log in, it would look like this    link If the verification is correct you will receive a token to access the o...
asked by 09.08.2017 / 03:06
1
answer

App webview session or cookie

Hello, guys! I am creating an (hybrid) app for android, from HTML5, CSS and JAVASCRIPT, such as WebView. I will use API through PHP using MYSQL, exchanging information with JSON. My question is next, where should I save the token to make a...
asked by 12.03.2017 / 04:56
0
answers

Angular sending data with token

I'm not sure if this is the case, but I'm not sure if it's a good idea. if when I need to send the data of a form should I send them in the body of the file as a normal post? Or would there be another good practice for this submission?     
asked by 22.03.2017 / 02:11
0
answers

Google Calendar Api

I'm having trouble with the Google Calendar Access Token. The problem is this. I have to synchronize the calendar of my application with Google Calendar, being that users will provide their emails for google authentication, which will provide th...
asked by 07.11.2016 / 21:01
0
answers

Authentication using Token With Devise Rails

Personal needs help to implement token authentication , I have already created the models, the application is working correctly, now I need to improve security. The client will send me a registration and a password, it will come in JSON ,...
asked by 06.09.2016 / 14:28