gin-cognito-sample

command module
v0.0.0-...-0a51fce Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 19, 2022 License: MIT Imports: 9 Imported by: 0

README

gin-cognito-sample

Authentication/Authorization using Amazon Cognito via Gin http server.

Setup

  1. Copy .env file

    cp .env.sample .env
    
  2. Put your cognito identify pool information

    • COGNITO_POOL_ID
    • COGNITO_CLIENT_ID
    • COGNITO_CLIENT_SECRET
    • COGNITO_REGION
  3. Set AWS profiles. ref

  4. Run go

    go run main.go
    

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
application
domain
infrastructure
aws
interface

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL