Questions tagged as 'jwt'

0
answers

Pass the token of an AngularJs controller to a Laravel API

I am trying to pass the token that I have in my controller to authenticate to an API in Laravel. But I'm encountering the error:    "token_not_provided" Note: I am using JWTAuth with Laravel 5.4 Follow my API: use Illuminate\Suppor...
asked by 17.10.2018 / 01:45
2
answers

Error installing JWT / Laravel

I'm trying to install JWTAuth in my project. I updated my composer.json as per the documentation: composer.json: "require": { "tymon/jwt-auth": "0.5.*" } I ran the composer update command and had the following error: Prob...
asked by 04.11.2016 / 14:09
2
answers

How do asymmetric signatures work in JSON Webtokens (JWT)?

Recently I started to study the possibility of starting to use JSON Webtokens in my projects, given its advantages. From what I understand, there is a symmetric and an asymmetric way of generating the signature for the tokens. The symmetric seem...
asked by 20.12.2015 / 01:52
0
answers

JWT + Spring Security without authentication

Good afternoon, guys. I have an application where I get a JWT token, login is treated in a separate application and in that token I get the roles. I need to use Spring Security to validate the same and handle permission to access the endpoints a...
asked by 24.07.2018 / 18:25
1
answer

Problems with JWT token

I'm using a system that uses the JWT token pass for authentication, the problem is that I can easily collect the headers of the API calls and pick up my token to be able to request what I want and pick up the data of any user. I believe that pro...
asked by 08.10.2018 / 15:45
1
answer

TypeError: ExtractJwt.fromAuthHeader is not a function

I'm having some problems with Passaport.js. When I try to run my api, the terminal returns an error. I went in the file in question and did not find anything wrong. I searched the net, but the solutions I found left the code to what I have...
asked by 17.08.2017 / 19:34
1
answer

JWT and Identity MVC 5

Save Galley, I'm looking for how to use both (JWT with Identity MVC 5), but I do not find anything about it, I only found it for Identity .Net Core 2, this is not good for me because the application was already created in MVC 5. Someone Do yo...
asked by 26.09.2018 / 21:02
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

New fields should be nil, what to do?

I am using Devise, I do not want to use email for authentication, I want to use an enrollment, so I have read the Devise documentation and made the following adjustments, but the error still persists, it does not recognize the enrollment paramete...
asked by 06.09.2016 / 22:56
0
answers

Load JWT signature key from a dynamic base

I have implemented an Authorization Server using AuthorizationServerConfigurerAdapter and the users and clients are configured from the implementation of the UserDetailsService and ClientDetailsService services that collect...
asked by 06.12.2018 / 20:31