dta-63 / tornado-keycloak-auth

Simple authentication handler to allow tornado microservice to check sso tokens (test with keycloak)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

tornado-keycloak-auth

Simple authentication handler to allow tornado microservice to check sso tokens. Work fine with Keycloak. The handler can be improve with a check of user roles...

Retrieve JWK from server

  • JWK contains public key that is used for decode JWT token
  • Only keycloak server know private key and can generate tokens
  • Token signature can be check with the public key

Architecture schema

About

Simple authentication handler to allow tornado microservice to check sso tokens (test with keycloak)


Languages

Language:Python 100.0%