mirror of
https://github.com/photoprism/photoprism.git
synced 2025-12-12 00:34:13 +01:00
API: Add link to related issue in /internal/api/oauth_authorize.go #4368
Signed-off-by: Michael Mayer <michael@photoprism.app>
This commit is contained in:
@@ -12,7 +12,8 @@ import (
|
||||
"github.com/photoprism/photoprism/pkg/i18n"
|
||||
)
|
||||
|
||||
// OAuthAuthorize is a starting point for browser-based OpenID Connect flows.
|
||||
// OAuthAuthorize should gather consent and authorization from resource owners when using the
|
||||
// Authorization Code Grant flow, see https://github.com/photoprism/photoprism/issues/4368.
|
||||
//
|
||||
// GET /api/v1/oauth/authorize
|
||||
func OAuthAuthorize(router *gin.RouterGroup) {
|
||||
@@ -38,7 +39,7 @@ func OAuthAuthorize(router *gin.RouterGroup) {
|
||||
return
|
||||
}
|
||||
|
||||
// TODO
|
||||
// TODO: see https://github.com/photoprism/photoprism/issues/4368
|
||||
|
||||
// Send response.
|
||||
c.JSON(http.StatusMethodNotAllowed, gin.H{"status": StatusFailed})
|
||||
|
||||
Reference in New Issue
Block a user