All Projects → Blacktoviche → springboot-graphql-sqqr-jwt-demo

Blacktoviche / springboot-graphql-sqqr-jwt-demo

Licence: MIT license
GraphQL java backend representing the right way to authenticate/authorize using Spring boot, graphql-spqr & jsonwebtoken

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to springboot-graphql-sqqr-jwt-demo

Laravel Api Boilerplate
A Boilerplate Project For Laravel API's (NOT MAINTAINED)
Stars: ✭ 113 (+303.57%)
Mutual labels:  jwt-token, jwt-authentication
React-Express-JWT-UserPortal
React.js & Express.js User portal Using Core UI, JWT, JWT Token, Refresh Token, Role & Permission management, User manamgenet, Event Log.
Stars: ✭ 22 (-21.43%)
Mutual labels:  jwt-token, jwt-authentication
Httpie Jwt Auth
JWTAuth (JSON Web Tokens) auth plugin for HTTPie
Stars: ✭ 140 (+400%)
Mutual labels:  jwt-token, jwt-authentication
Laravel Jwt
Laravel with JWT Authentication for API development
Stars: ✭ 31 (+10.71%)
Mutual labels:  jwt-token, jwt-authentication
Quasar-JWT
Quasar - JWT Authentication Starter Kit
Stars: ✭ 38 (+35.71%)
Mutual labels:  jwt-token, jwt-authentication
Laravel Vue Starter
Well Documented Laravel Starter App From Development to Production. For Full Blown RESTFUL API and SPA with Beautiful UI Using Buefy / ElementUi For Reusable Vue Components
Stars: ✭ 76 (+171.43%)
Mutual labels:  jwt-token, jwt-authentication
Jose2go
Golang (GO) implementation of Javascript Object Signing and Encryption specification
Stars: ✭ 150 (+435.71%)
Mutual labels:  jwt-token, jwt-authentication
Jose Jwt
Ultimate Javascript Object Signing and Encryption (JOSE) and JSON Web Token (JWT) Implementation for .NET and .NET Core
Stars: ✭ 692 (+2371.43%)
Mutual labels:  jwt-token, jwt-authentication
gatsby-starter-redux-saas
An Gatsby starter for Saas products. Uses redux and apollo and a graphql token auth backend.
Stars: ✭ 18 (-35.71%)
Mutual labels:  jwt-token, jwt-authentication
MyAPI
A template to create awesome APIs easily ⚡️
Stars: ✭ 117 (+317.86%)
Mutual labels:  jwt-token, jwt-authentication
Jwt
Kotlin JWT 🔑 implementation (Json Web Token) as required by APNs 🔔 (Apple Push Notifications) or Sign in with Apple 🍏
Stars: ✭ 31 (+10.71%)
Mutual labels:  jwt-token, jwt-authentication
jwx
JSON/JWK/JWS/JWT/Base64 library in SPARK
Stars: ✭ 15 (-46.43%)
Mutual labels:  jwt-token, jwt-authentication
Php Storageless Sessions
Sessions handler which stores session data in HMAC-signed and encrypted cookies
Stars: ✭ 29 (+3.57%)
Mutual labels:  jwt-token, jwt-authentication
React Login
A client side implementation of authentication using react.js for my blog on medium. This is the second part of my previous blog on how to implement scalable node.js server.
Stars: ✭ 105 (+275%)
Mutual labels:  jwt-token, jwt-authentication
Go Book Store Api
Go Sample project to understand Mysql CRUD operation with best practises Includes logging, JWT, Swagger and Transactions
Stars: ✭ 18 (-35.71%)
Mutual labels:  jwt-token, jwt-authentication
Node Express Mongoose Passport Jwt Rest Api Auth
Node, express, mongoose, passport and JWT REST API authentication example
Stars: ✭ 146 (+421.43%)
Mutual labels:  jwt-token, jwt-authentication
Jwt
Go JWT signing, verifying and validating
Stars: ✭ 394 (+1307.14%)
Mutual labels:  jwt-token, jwt-authentication
F License
Open Source License Key Generation and Verification Tool written in Go
Stars: ✭ 535 (+1810.71%)
Mutual labels:  jwt-token, jwt-authentication
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 (+621.43%)
Mutual labels:  jwt-token, jwt-authentication
nexus-plugin-jwt-auth
Basic jsonwebtoken authentication plugin for The Nexus Framework
Stars: ✭ 55 (+96.43%)
Mutual labels:  jwt-token, jsonwebtoken

springboot-graphql-sqqr-jwt-demo

GraphQL java backend representing the right way to authenticate/authorize using Spring boot, graphql-spqr & jsonwebtoken the power of graphql-spqr java qraphql implementation is amazing and make things easy to be implemented like spring security using normal jsonwebtoken and simple filter

To secure your mutations and queries you just use spring security annotation "hasRole('ADMIN')" etc.. This repository implemented a simple mutation for login to get your token and queries The first one has a security annotation (You should be loggedin to use it) the other one is for public

First try to call users query you can call it without being logged in The other query is user which get one user by providing it's id in the query it's secured You have to be logged in to be able to call it that's why you should call first signin mutation with username & password Which are ( username: admin , password: admin ), this will return your token Next query put this token in your post request header to be able to call the secured query

I'm using potgresql database and the password is encrypted using BCrypt which included in spring security

Installation

# Clone this repository
git clone https://github.com/blacktoviche/springboot-graphql-sqqr-jwt-demo
# Go into the repository
cd springboot-graphql-sqqr-jwt-demo
# Install dependencies
mvn install
# Compile the app
mvn compile
# Package the app
mvn package
# Run the app
mvn spring-boot:run

License

Twitter @SyrianDeveloper

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].