Skip to content

Commit 6335084

Browse files
committed
fix: add post method support for oauth callback
1 parent eab336c commit 6335084

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

server/routes/routes.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ func InitRouter(log *logrus.Logger) *gin.Engine {
2323
router.GET("/playground", handlers.PlaygroundHandler())
2424
router.GET("/oauth_login/:oauth_provider", handlers.OAuthLoginHandler())
2525
router.GET("/oauth_callback/:oauth_provider", handlers.OAuthCallbackHandler())
26+
router.POST("/oauth_callback/:oauth_provider", handlers.OAuthCallbackHandler())
2627
router.GET("/verify_email", handlers.VerifyEmailHandler())
2728
// OPEN ID routes
2829
router.GET("/.well-known/openid-configuration", handlers.OpenIDConfigurationHandler())

0 commit comments

Comments
 (0)