Skip to content

BlackSmith/template_vue3_fastapi_keycloak

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Vue3 + FastAPI (Keycloak authentication)

This is template project:

  • Vue3 (Keycloak authentication with automatic refresh token)
  • FastAPI (Keycloak validate OAuth2 token)

Related environment configuration is automatically propagate to frontend. If we don't want to use web-socket, set SOCKET_DISABLED to True.

Keycloak configuration

  • We have to enable "Implicit flow" and "Use refresh tokens"
  • If the Keycloak is under reverse proxy we can not add "X-Frame-Options" header there.

Devel

For development we can use docker-compose.yml, where Traefik covers all services to one entrypoint http://localhost:8000.

About

This is template project with Vue3, FastAPI + Keycloak authentification

Resources

License

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors