Minor changes

This commit is contained in:
David J. Allen 2024-04-17 17:24:56 -06:00
parent af79cfe254
commit d7990807f0
No known key found for this signature in database
GPG key ID: 717C593FF60A2ACC
3 changed files with 8 additions and 4 deletions

View file

@ -21,8 +21,7 @@ func (client *Client) BuildAuthorizationUrl(issuer string, state string) string
"&redirect_uri=" + url.QueryEscape(strings.Join(client.RedirectUris, ",")) +
"&response_type=code" + // this has to be set to "code"
"&state=" + state +
"&scope=" + strings.Join(client.Scope, "+") +
"&resource=" + url.QueryEscape("http://127.0.0.1:4444/oauth2/token")
"&scope=" + strings.Join(client.Scope, "+")
}
func (client *Client) InitiateLoginFlow(loginUrl string) error {