Skip to content

OpenId Connect access token introspection verifier for AuthOne authorization server.

License

Notifications You must be signed in to change notification settings

ProtocolONE/authone-jwt-verifier-golang

Repository files navigation

AuthOne JWT verifier for Go

Build Status codecov Go Report Card

Overview

This component contains helper methods for working with authentication in ProtocolOne projects. Also, based on these methods, middleware is implemented to verify authentication in the Echo framework.

Installation

go get -u github.com/ProtocolONE/authone-jwt-verifier-golang

Usage

The complete example of usage can be found in the demo application located in the example directory. This library was built to simplify authorization process and converting opaque oauth2 access tokens to Jwt tokens and manage they lifecycle. To get it running at its most basic form, all you need to provide is the the following information:

  • Client ID - The unique ID of application in the AuthOne Developer Console.
  • RedirectURL - The authorization server will redirect the user back to the application with either an authorization code or access token in the URL.
  • Issuer - the AuthOne authorization server to manage introspection, authorization, revoke and get user info operations.