All Projects → emcrisostomo → jwt-cli

emcrisostomo / jwt-cli

Licence: GPL-3.0, GPL-3.0 licenses found Licenses found GPL-3.0 LICENSE GPL-3.0 COPYING
A shell library to decode JWT tokens

Programming Languages

shell
77523 projects
M4
1887 projects
Makefile
30231 projects

Projects that are alternatives of or similar to jwt-cli

Jwt
Kotlin JWT 🔑 implementation (Json Web Token) as required by APNs 🔔 (Apple Push Notifications) or Sign in with Apple 🍏
Stars: ✭ 31 (-24.39%)
Mutual labels:  jwt-token, json-web-token
Jwt Cli
A super fast CLI tool to decode and encode JWTs built in Rust
Stars: ✭ 336 (+719.51%)
Mutual labels:  jwt-token, json-web-token
JwtAuthDemo
ASP.NET Core + Angular JWT auth demo; integration tests; login, logout, refresh token, impersonation, authentication, authorization; run on Docker Compose.
Stars: ✭ 278 (+578.05%)
Mutual labels:  jwt-token, json-web-token
Reallysimplejwt
A really simple library to generate JSON Web Tokens in PHP.
Stars: ✭ 218 (+431.71%)
Mutual labels:  jwt-token, json-web-token
MyAPI
A template to create awesome APIs easily ⚡️
Stars: ✭ 117 (+185.37%)
Mutual labels:  jwt-token
Jwt Spring Security Jpa
Backend MVP showcasing JWT (Json Web Token) authentication with multiple login, timeout / refresh / logout (with in memory invalidation) using Spring Security & MySQL JPA.
Stars: ✭ 202 (+392.68%)
Mutual labels:  jwt-token
Jwtpermission
基于token验证的Java Web权限控制框架,使用jjwt,支持redis和db多种存储方式,可用于前后端分离项目,功能完善、使用简单、易于扩展。
Stars: ✭ 186 (+353.66%)
Mutual labels:  jwt-token
Vue.netcore
.NetCore+Vue2/Vue3+Element plus,前后端分离,不一样的快速开发框架;提供Vue2、Vue3版本,。http://www.volcore.xyz/
Stars: ✭ 2,338 (+5602.44%)
Mutual labels:  jwt-token
vue-login
基于vue2.0+koa2+mongodb实现注册登录
Stars: ✭ 90 (+119.51%)
Mutual labels:  jwt-token
nexus-plugin-jwt-auth
Basic jsonwebtoken authentication plugin for The Nexus Framework
Stars: ✭ 55 (+34.15%)
Mutual labels:  jwt-token
Jwt
Safe, simple and fast JSON Web Tokens for Go
Stars: ✭ 231 (+463.41%)
Mutual labels:  jwt-token
Apple Music Token Generator
Stars: ✭ 208 (+407.32%)
Mutual labels:  jwt-token
gatsby-starter-redux-saas
An Gatsby starter for Saas products. Uses redux and apollo and a graphql token auth backend.
Stars: ✭ 18 (-56.1%)
Mutual labels:  jwt-token
Firebase Esp32
ESP32 Firebase RTDB Arduino Library
Stars: ✭ 204 (+397.56%)
Mutual labels:  jwt-token
jwx
JSON/JWK/JWS/JWT/Base64 library in SPARK
Stars: ✭ 15 (-63.41%)
Mutual labels:  jwt-token
Doorkeeper Jwt
JWT Token support for Doorkeeper
Stars: ✭ 174 (+324.39%)
Mutual labels:  jwt-token
Firebase Esp8266
ESP8266 Firebase RTDB Arduino Library
Stars: ✭ 228 (+456.1%)
Mutual labels:  jwt-token
Quasar-JWT
Quasar - JWT Authentication Starter Kit
Stars: ✭ 38 (-7.32%)
Mutual labels:  jwt-token
Frank jwt
JSON Web Token implementation in Rust.
Stars: ✭ 227 (+453.66%)
Mutual labels:  jwt-token
Spring Boot Start Current
Spring Boot 脚手架 Mybatis Spring Security JWT 权限 Spring Cache + Redis
Stars: ✭ 246 (+500%)
Mutual labels:  jwt-token

License

jwt-cli

jwt-cli is a shell library to decode JWT tokens.

Prerequisites

jwt-cli requires the following programs to be present on the ${PATH}:

  • jq: optional. If present, pretty output will be emitted.
  • base64 or openssl
  • zsh

Getting jwt-cli

A user who whishes to build this package should get a release tarball. A release tarball contains everything a user needs to build the package on his system, following the instructions detailed in the Installation section below and the INSTALL file.

A developer who wishes to modify this package should get the sources (either from a source tarball or cloning the repository) and have the GNU Build System installed on his machine. Please read README.gnu-build-system to get further details about how to bootstrap this package from sources on your machine.

Getting a copy of the source repository is not recommended unless you are a developer, you have the GNU Build System installed on your machine, and you know how to bootstrap it on the sources.

Installation

See the INSTALL file for detailed information about how to configure and install this package.

Usage

The following operation decodes a JWT token:

$ jwt-decode token

{
  "alg": "RS256",
  "typ": "JWT",
  "kid": "sbS_BWBm0GzfIQRnYWolcWDRnjqwDTY_Aq6Fn_boqKM"
}
{
  "jti": "271151a3-db11-4f37-a724-4cf9957774f4",
  "exp": 1530979706,
  "nbf": 0,
  "iat": 1523117306,
  "iss": "https://domain.com/auth/realms/realm",
  "aud": "app-name",
  "sub": "5132c417-d772-420e-b5db-401ea633dca1",
  "typ": "Bearer",
  "azp": "app",
  "auth_time": 0,
  "session_state": "84e6a759-e54d-4fd7-9fcf-bb51131aab89",
  "acr": "1",
  "allowed-origins": [
    ""
  ],
  "realm_access": {
    "roles": [
      "role0",
      "role1",
      "role2"
    ]
  },
  "resource_access": {
    "account": {
      "roles": [
        "manage-account",
        "manage-account-links",
        "view-profile"
      ]
    }
  },
  "custom-property": "1797"
}

Bug Reports

Bug reports can be sent directly to the authors.


Copyright (c) 2018 Enrico M. Crisostomo

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].