aboutsummaryrefslogtreecommitdiffstats
path: root/modules/auth
diff options
context:
space:
mode:
Diffstat (limited to 'modules/auth')
-rw-r--r--modules/auth/user_form.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/auth/user_form.go b/modules/auth/user_form.go
index c0aafec9e4..b94b8e0a4e 100644
--- a/modules/auth/user_form.go
+++ b/modules/auth/user_form.go
@@ -147,6 +147,8 @@ type AuthorizationForm struct {
ClientID string `binding:"Required"`
RedirectURI string
State string
+ Scope string
+ Nonce string
// PKCE support
CodeChallengeMethod string // S256, plain
@@ -163,6 +165,8 @@ type GrantApplicationForm struct {
ClientID string `binding:"Required"`
RedirectURI string
State string
+ Scope string
+ Nonce string
}
// Validate validates the fields