mirror of
https://github.com/janishutz/oidclogin.git
synced 2026-10-08 17:26:20 +02:00
feat: check endpoint for CORS applications
This commit is contained in:
1 parent
996f4959fb
commit
a9245fd20f
2 files changed
+2
No files matched your search
@@ -8,6 +8,7 @@ import (
|
||||
func startStubs(r *gin.Engine) {
|
||||
r.GET("/auth/v2/login", stubsHandler)
|
||||
r.GET("/auth/v2/verify", stubsHandler)
|
||||
r.GET("/auth/v2/check", EnsureLogin(false), func(ctx *gin.Context) { ctx.JSON(200, gin.H{"success": "true"}) })
|
||||
}
|
||||
|
||||
func stubsHandler(c *gin.Context) {
|
||||
|
||||
Reference in new issue
Block a user