feat: add revoke mutation + handler

This commit is contained in:
Lakhan Samani
2022-03-08 18:49:42 +05:30
parent a69b8e290c
commit 3bb90acc9e
9 changed files with 195 additions and 2 deletions

View File

@@ -27,6 +27,7 @@ func InitRouter() *gin.Engine {
router.GET("/userinfo", handlers.UserInfoHandler())
router.GET("/logout", handlers.LogoutHandler())
router.POST("/oauth/token", handlers.TokenHandler())
router.POST("/oauth/revoke", handlers.RevokeHandler())
router.LoadHTMLGlob("templates/*")
// login page app related routes.