Open y934317258 opened 1 month ago
描述问题 能否提供一个gitlab oidc登录的例子。 目前尝试集成是报了个错,请原因我没有涉足过go开发,无法定位。 目前官方文档里,OIDC模块的内容太少了,UserNameKey、RealNameKey、EmailKey、SessionKey等无法理解是用来做什么的 复现 重现该行为的步骤:
期望的结果 清晰而简洁地描述你希望得到的结果
截图
部署方式
环境 (请填写环境信息):
额外的日志信息 [Critical] 2024-07-08 16:34:20 (github.com/cookieY/yee@v0.5.1/middleware/recovery.go:33) [PANIC RECOVER] interface conversion: interface {} is nil, not string Traceback: runtime/iface.go:263 Yearning-go/src/handler/login/oidcLogin.go:96 Yearning-go/src/handler/login/oidcLogin.go:70 github.com/cookieY/yee@v0.5.1/context.go:128 github.com/cookieY/yee@v0.5.1/middleware/gzip.go:66 github.com/cookieY/yee@v0.5.1/context.go:128 github.com/cookieY/yee@v0.5.1/middleware/recovery.go:38 github.com/cookieY/yee@v0.5.1/context.go:128 github.com/cookieY/yee@v0.5.1/middleware/logger.go:58 github.com/cookieY/yee@v0.5.1/context.go:128 github.com/cookieY/yee@v0.5.1/middleware/cors.go:96 github.com/cookieY/yee@v0.5.1/context.go:128 github.com/cookieY/yee@v0.5.1/yee.go:206 github.com/cookieY/yee@v0.5.1/yee.go:132 net/http/server.go:2939 net/http/server.go:2010 runtime/asm_amd64.s:1651
Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑🤝🧑👫🧑🏿🤝🧑🏻👩🏾🤝👨🏿👬🏿 Title: [Question] Can you provide an example of gitlab oidc login?
Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑🤝🧑👫🧑🏿🤝🧑🏻👩🏾🤝👨🏿👬🏿
Title: [Question] Can you provide an example of gitlab oidc login?
描述问题 能否提供一个gitlab oidc登录的例子。 目前尝试集成是报了个错,请原因我没有涉足过go开发,无法定位。 目前官方文档里,OIDC模块的内容太少了,UserNameKey、RealNameKey、EmailKey、SessionKey等无法理解是用来做什么的 复现 重现该行为的步骤:
期望的结果 清晰而简洁地描述你希望得到的结果
截图
部署方式
环境 (请填写环境信息):
额外的日志信息 [Critical] 2024-07-08 16:34:20 (github.com/cookieY/yee@v0.5.1/middleware/recovery.go:33) [PANIC RECOVER] interface conversion: interface {} is nil, not string Traceback: runtime/iface.go:263 Yearning-go/src/handler/login/oidcLogin.go:96 Yearning-go/src/handler/login/oidcLogin.go:70 github.com/cookieY/yee@v0.5.1/context.go:128 github.com/cookieY/yee@v0.5.1/middleware/gzip.go:66 github.com/cookieY/yee@v0.5.1/context.go:128 github.com/cookieY/yee@v0.5.1/middleware/recovery.go:38 github.com/cookieY/yee@v0.5.1/context.go:128 github.com/cookieY/yee@v0.5.1/middleware/logger.go:58 github.com/cookieY/yee@v0.5.1/context.go:128 github.com/cookieY/yee@v0.5.1/middleware/cors.go:96 github.com/cookieY/yee@v0.5.1/context.go:128 github.com/cookieY/yee@v0.5.1/yee.go:206 github.com/cookieY/yee@v0.5.1/yee.go:132 net/http/server.go:2939 net/http/server.go:2010 runtime/asm_amd64.s:1651