Home-sso-service - Single-Sign On service with golang

home-sso-service

This is Single-Sign On service

Dependencies

  • go version go1.15.6 linux/amd64

Build

To build the project, use:

# Use 
go get .

Run

To run the project, use:

# Use 
go run main.go

API

Request OAuth2 JWT token

POST http://192.168.0.106:1323/api/sso/requestToken
Body
{
    "clientid":"exampleOauthClient",
    "clientsecret":"exampleOauthClientSecret",
    "username":"thanhlam",
    "password":"12345678"
}

Parse OAuth2 JWT token

POST http://192.168.0.106:1323/api/sso/parseToken
Body
{
    "token":"qFfbbFKLO3ArNEhSDiti4_zdjwysV7J1cWyHE84gOe7SDXJPIiQ_GWW2VEULaqwYpLXu_RR5PHzXfnY9rDWo7_2PGNzJfCLihU_aTfX42XkjOFS8HsI8VxbGNNHGwJj2y2PJwArDNOF-vCz6tD6zgtZ-GidM58wXDnJfv3qwsehy78I4DkWURhEbrXg9BulxFJr9mOBlKjogCpEV199m1oGdcdfv6IzG5gNstwj2R1M43AC68IDKMiDRD54TB3BjC-6Y2ycpKU9QHsZl8fzhihIUG7ZOQ01Gt0fhO1JFyklR7ef1JVqp9yrdpqxfdQJNJwAlN3LzkbMnQyu7r-YPpItaiIMlgMOCK_yiWSs9-Zo8OPglN9yOow2NXC5NaOcUqKYNb2V9-gGqvggwQiSdpcNQED7yf8gwYUlFmFFmkhnvU09ZFB0wWZjq5dQIJROuXDvzTquwtlybkem2eiw4cIhE_5cCI2VY4NxeX7_Xhc9bXQ2qBYHe7zafWdiLdh_p-QcOMk0EmUtMpnfiL01aGcQYds9C3hayO51HxOKLA1ubDhuI0Kiw5M0sJ5QmZ1AeF99vGcf0HXOcnZVUifdh7R2xbXOjojGGz2T-ON1PbtnIRIUPDUYXvhwyVzE6VnFYYWnsnITIef32bfcUlgLFuARHrNDuPkQHR-GB2-aqfplFLJGc5rfpKTFgfISfUl8o-P0HNtP5VF8KYsu2lYkTWDcD0XNV6Ws_nDdPf8pR4otM5XvRKjkQC3xN3ks-5agFX63cjH8K4Ct2oTYHSYVNJxkaY8cZgzSbvBgRePWzsUvVenLbaHqww3PMxmmf1grg.w1Ce0nx5voBdupjkt7sk5w"
}
Similar Resources

Barbar Service is a project for demo of simple distribute authentication Service.

Barbar Service is a project for demo of simple distribute authentication Service.

Barbar Service Barbar Service is a project for demo of simple distribute authentication Service. Project Structure Basicaly we reffer to Domain Driven

Aug 29, 2022

Golang Kalkancrypt Wrapper - simple digital signature auth service

Golang Kalkancrypt Wrapper - simple digital signature auth service

Golang Kalkancrypt Wrapper WIP ⭐ Star on GitHub — it motivates me a lot! Overview Golang Kalkancrypt Wrapper - это простой веб-сервис для аутентификац

Dec 1, 2022

Nsq http auth service for golang

nsq-auth nsq http auth service ./nsq-auth -h Usage: 2021/12/25 17:10:56 Usage:

Nov 21, 2022

Authentication service that keeps you in control without forcing you to be an expert in web security.

Authentication service that keeps you in control without forcing you to be an expert in web security.

Authentication service that keeps you in control without forcing you to be an expert in web security.

Jan 1, 2023

BK-IAM is a centralized permission management service provided by The Tencent BlueKing; based on ABAC

(English Documents Available) Overview 蓝鲸权限中心(BK-IAM)是蓝鲸智云提供的集中权限管理服务,支持基于蓝鲸开发框架的SaaS和企业第三方系统的权限控制接入,以及支持细粒度的权限管理。 架构设计 代码目录 Features 蓝鲸权限中心是基于 ABAC 强

Nov 16, 2022

OAuth 2.0 middleware service for chi (ported from gin by community member)

oauth middleware OAuth 2.0 Authorization Server & Authorization Middleware for go-chi This library was ported to go-chi from https://github.com/maxzer

Dec 8, 2022

Durudex Auth Service

⚡️ Durudex Auth Service Durudex Auth Service 💡 Prerequisites Go 1.17 migrate grpc ⚙️ Build & Run Create an .env file in the root directory and add th

Dec 13, 2022

Figma Auth service for Haiku Animator

Figma Auth service for Haiku Animator In order to use Haiku Animator's Figma integration, a service must be running to perform OAuth2 token exchange.

Dec 4, 2022

An imaginary authentication and session tracking service that is defined in this Apiary

Userland This repository contains impelementation of "Userland" on boarding project Userland is an imaginary authentication and session tracking servi

Dec 5, 2021
sso, aka S.S.Octopus, aka octoboi, is a single sign-on solution for securing internal services
sso, aka S.S.Octopus, aka octoboi, is a single sign-on solution for securing internal services

sso See our launch blog post for more information! Please take the SSO Community Survey to let us know how we're doing, and to help us plan our roadma

Jan 5, 2023
The Single Sign-On Multi-Factor portal for web apps
The Single Sign-On Multi-Factor portal for web apps

Authelia is an open-source authentication and authorization server providing two-factor authentication and single sign-on (SSO) for your applications

Jan 8, 2023
Basic Single Sign-On with Go

Basic Single Sign-On (SSO) This is a basic project to implement SSO with Go. List Structure Configuration Database Implement Register Request Check Us

Nov 5, 2021
A single sign-on solution based on go-oauth2 / oauth2 and gin-gonic/gin

A single sign-on solution based on go-oauth2 / oauth2 and gin-gonic/gin

Nov 17, 2021
Provides AWS STS credentials based on Google Apps SAML SSO auth with interactive GUI support
Provides AWS STS credentials based on Google Apps SAML SSO auth with interactive GUI support

What's this This command-line tool allows you to acquire AWS temporary (STS) credentials using Google Apps as a federated (Single Sign-On, or SSO) pro

Sep 29, 2022
an SSO and OAuth / OIDC login solution for Nginx using the auth_request module
an SSO and OAuth / OIDC login solution for Nginx using the auth_request module

Vouch Proxy An SSO solution for Nginx using the auth_request module. Vouch Proxy can protect all of your websites at once. Vouch Proxy supports many O

Jan 4, 2023
Makes dealing with AWS SSO Logins an ease

go-aws-sso Make working with AWS SSO on local machines an ease. What is it about? Choose and retrieve short-living role credentials from all of your S

Jan 3, 2023
Lightweight SSO Login System

login Lightweight SSO Login System Convention Redirect to login.changkun.de?redirect=origin When login success, login.changkun.de will redirect to ori

Sep 29, 2022
A distribute SSO system

single-sign-on-system 一:SSO单点登录系统开发总结 (一):整体架构分析 基于go-oauth2/oauth2库实现的前端分离SSO单点登录系统 (二):系统技术点分析 当前系统的业务技术栈如下 Vue3 、ElementUI 作为前端页面 Nginx 用于解决系统之间的跨域

Aug 9, 2022
Sign, encrypt and authenticate http cookies with golang
Sign, encrypt and authenticate http cookies with golang

ecookie sign, encrypt and authenticate cookies with golang... this package uses rabbit cipher to encrypt and blake2 hash function in order to authenti

Feb 3, 2022