feat: add well-known config endpoint

This commit is contained in:
Lakhan Samani
2022-02-23 11:24:52 +05:30
parent dfa96f09a0
commit 332269ecf9
2 changed files with 39 additions and 0 deletions

View File

@@ -20,6 +20,8 @@ func InitRouter() *gin.Engine {
router.GET("/oauth_login/:oauth_provider", handlers.OAuthLoginHandler())
router.GET("/oauth_callback/:oauth_provider", handlers.OAuthCallbackHandler())
router.GET("/verify_email", handlers.VerifyEmailHandler())
// OPEN ID routes
router.GET("/.well-known/openid-configuration", handlers.OpenIDConfigurationHandler())
router.LoadHTMLGlob("templates/*")
// login page app related routes.