Merge branch 'hotfix/scope'

master v0.1.1
Maxim Lebedev 4 months ago
commit aee8a4e8f0
Signed by: toby3d
GPG Key ID: 1F14E25B7C119FC5
  1. 4
      internal/auth/delivery/http/auth_http.go

@ -52,7 +52,7 @@ type (
// value, the authorization server MUST NOT issue an access // value, the authorization server MUST NOT issue an access
// token for this authorization code. Only the user's profile // token for this authorization code. Only the user's profile
// URL may be returned without any scope requested. // URL may be returned without any scope requested.
Scope domain.Scopes `form:"scope"` Scope domain.Scopes `form:"scope,omitempty"`
// The URL that the user entered. // The URL that the user entered.
Me *domain.Me `form:"me"` Me *domain.Me `form:"me"`
@ -64,7 +64,7 @@ type (
RedirectURI *domain.URL `form:"redirect_uri"` RedirectURI *domain.URL `form:"redirect_uri"`
CodeChallengeMethod domain.CodeChallengeMethod `form:"code_challenge_method"` CodeChallengeMethod domain.CodeChallengeMethod `form:"code_challenge_method"`
ResponseType domain.ResponseType `form:"response_type"` ResponseType domain.ResponseType `form:"response_type"`
Scope domain.Scopes `form:"scope[]"` Scope domain.Scopes `form:"scope[],omitempty"`
Authorize string `form:"authorize"` Authorize string `form:"authorize"`
CodeChallenge string `form:"code_challenge"` CodeChallenge string `form:"code_challenge"`
State string `form:"state"` State string `form:"state"`

Loading…
Cancel
Save