feat: Allow modifying request to device authorization endpoint (#356)
* feat: Allow modifying request to device authorization endpoint This change enables the caller to set URL parameters when calling the device authorization endpoint. Fixes #354 * Update device authorization example
This commit is contained in:
parent
adebbe4c32
commit
c778e8329c
3 changed files with 5 additions and 5 deletions
|
@ -45,7 +45,7 @@ func main() {
|
|||
}
|
||||
|
||||
logrus.Info("starting device authorization flow")
|
||||
resp, err := rp.DeviceAuthorization(ctx, scopes, provider)
|
||||
resp, err := rp.DeviceAuthorization(ctx, scopes, provider, nil)
|
||||
if err != nil {
|
||||
logrus.Fatal(err)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue