mirror of
https://github.com/davidallendj/opaal.git
synced 2025-12-20 11:37:01 -07:00
Minor changes
This commit is contained in:
parent
af79cfe254
commit
d7990807f0
3 changed files with 8 additions and 4 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue