Questions tagged as 'jwt'

2
answers

Get Token-Jwt on Ionic

I am consuming an ApiRest in which I get a Token Jwt. The problem I have is that for example the token I receive comes in the following way: Code: let jwt = jwt_decode(resp); Token Obtained: {"token":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVC...
asked by 16.10.2018 / 06:05
1
answer

ApiRest security with Jersey

I have made an Api Rest in java with maven jersey. But the time has come to protect her. How should I do it? I have seen JWT to do the practice, but I'm not sure how it should correctly integrate. I can now send and receive the header t...
asked by 30.12.2016 / 18:32
0
answers

JWT is not configured properly, please contact the admin

very good: I'm trying to make my cinexion safer with my api rest and for this I installed in my wordpress the plugin "JWT Authentication for WP-API" I followed all the steps: .htaccess wp-config: but when executing in POSTMAN:...
asked by 05.12.2018 / 13:28
0
answers

Avoid viewing JWT data in your console

I'm starting to work with JWT. I am integrating it into a Web project, therefore I see the HTTPS calls in the console and with it, their answers (in JWT) I think it's a great feature to obfuscate data, but I see a big security flaw, how is...
asked by 09.11.2018 / 09:12
0
answers

No provider for OAuthLogger!

good day I wanted to know if anyone knows of this error, I imagine that I'm missing some module that needs to be implemented but I did not find anything about this. I am trying to implement the concept of JWT tokens for ionic 3. ERROR Error...
asked by 26.10.2018 / 16:23
1
answer

Api Nodejs jwt-Simple

I'm putting together an api with nodejs, and I want to include the token with jwt-simple, I can create token and use it to access the routes, but when you want to check the token expiration directly it jumps through the 'invalid token' error cat...
asked by 20.10.2018 / 01:19
0
answers

send token jwt Laravel

I followed this tutorial for authentication in laravel by jwt and in the end a token comes back to me. In postman it works perfectly and when wanting to enter any route I send it by postman the header: "Authorization: Bearer {{token}}" an...
asked by 07.09.2018 / 23:28
0
answers

JWT result: "invalid algorithm"

I'm securizing an application with "jsonwebtoken". The case is, after having managed to return the token correctly, I am about to verify. 'use strict' const fs = require('fs'), jwt = require('jsonwebtoken'), moment = require('moment')...
asked by 31.07.2018 / 22:41
0
answers

Error jwt_auth_no_auth_header when validating the JWT token of the WordPress REST API

I'm having trouble validating the "JWT Authentication WP-API" token. I get the token well using "wp-json / jwt-auth / v1 / token" but to validate the token to get the user's information by "wp-json / jwt-auth / v1 / token / validate" gives me...
asked by 04.07.2018 / 13:52
0
answers

How to add custom properties to the JWT Sprint Java payload

Using Spring OAuth2. I implemented an authorization and a resource server together with a certain web security configuration. Now I want to edit the part of the claims (properties of the token) and add custom properties, for example, email and r...
asked by 14.06.2018 / 16:55