Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Prith-ML/Impiger-Task1

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OAuth 2.0 Authentication with Keycloak

Authentication system with OAuth 2.0, JWT tokens, Keycloak, and MailHog.

Setup

  1. Start services:
docker-compose up -d
  1. Configure Keycloak (http://localhost:8080):

    • Login: admin/admin
    • Create realm: myrealm
    • Create client: my-app
    • Enable client authentication
    • Add redirect URI: http://localhost:8000/*
    • Copy client secret from Credentials tab
    • Update KEYCLOAK_CLIENT_SECRET in docker-compose.yml
    • Create user with password
  2. Restart backend:

docker-compose restart backend
  1. Access app: http://localhost:8000

Services

Features

  • OAuth 2.0 Authorization Code Flow
  • JWT token authentication
  • Login/Logout with email notifications
  • Protected API endpoints

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors