mirror of
https://github.com/davidallendj/opaal.git
synced 2025-12-20 03:27:02 -07:00
Fixed the changes not being commited
This commit is contained in:
parent
78e1120fdf
commit
32d953218b
1 changed files with 0 additions and 7 deletions
|
|
@ -25,17 +25,10 @@ func NewClientCredentialsFlow(eps ClientCredentialsFlowEndpoints, params ClientC
|
||||||
}
|
}
|
||||||
|
|
||||||
// authorize the client
|
// authorize the client
|
||||||
<<<<<<< HEAD
|
|
||||||
res, err = params.Client.AuthorizeOAuthClient(eps.Authorize)
|
|
||||||
if err != nil {
|
|
||||||
return "", fmt.Errorf("failed to authorize client: %v", err)
|
|
||||||
}
|
|
||||||
=======
|
|
||||||
// _, err = client.AuthorizeOAuthClient(eps.Authorize)
|
// _, err = client.AuthorizeOAuthClient(eps.Authorize)
|
||||||
// if err != nil {
|
// if err != nil {
|
||||||
// return fmt.Errorf("failed to authorize client: %v", err)
|
// return fmt.Errorf("failed to authorize client: %v", err)
|
||||||
// }
|
// }
|
||||||
>>>>>>> f49f3c8 (Removed the client authorization for client credentials flow)
|
|
||||||
|
|
||||||
// request a token from the authorization server
|
// request a token from the authorization server
|
||||||
res, err = params.Client.PerformClientCredentialsTokenGrant(eps.Token)
|
res, err = params.Client.PerformClientCredentialsTokenGrant(eps.Token)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue