Questions tagged as 'token'

1
answer

Log in to site using satellizer.js

I need to make an application where the user can sign in through facebook and soundcloud, and I found that link to do this, and according to this page link it is possible to do this with soundcloud by oAuth2, but I can not handle it, very cl...
asked by 22.05.2016 / 07:19
1
answer

separating information that is in string type in AngularJS

I have the following code: app.controller("LoginCtrl", function ($scope, LoginAPI) { $scope.doLogin = function (model) { if (model.username === undefined || model.password === undefined) { return false; }...
asked by 13.03.2017 / 19:18
1
answer

Using JWT with Laravel

I'm using JWT to generate TOKEN access to my system ... So far it's okay, I'm getting my API and it returns me a Token. The problem is in the following scenario. - My intention is to work with API in my Web application and would reuse this sa...
asked by 22.03.2017 / 01:53
1
answer

Laravel jwt token

I'm using tymondesigns / jwt-auth to generate token It's working The problem is that I want to change the validity time of the token to 1 minute for testing I changed the jwt.php file: 'ttl' = > env ('JWT_TTL', 1), and I also tried: 'ttl'...
asked by 15.11.2018 / 15:20
1
answer

Prohibit direct access to a URL (JS) [duplicate]

I made a website, and in it I need to prevent it from entering it by URL access, but I did not create a session in PHP because the login is validated with token by jwt with js. Is there any secure way to just let anyone who logged in to the...
asked by 22.05.2018 / 19:49
2
answers

How to hide javascript API access data?

How do I hide this information as a parameter for the token request? the way that anyone can see and can not var chaveToken = { "grant_type": "password", "username": "[email protected]", "pas...
asked by 30.06.2016 / 20:46