Skip to content

inkochetkov/auth

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

auth

authorization service for JWT

use module

Examle

build projecr

make build

run projecr

make run

you config :

server_http:
  mode: "debug"
  port: ":8080"

sql:
  path_sql: "./db"
  path_sql_name: "db.sqlite3"
  timeout: "10s"

jwt:
  ttl: "100h"
  token_claims: "test"