feat: get issuer from context for device auth

This commit is contained in:
Tim Möhlmann 2023-04-11 18:49:42 +03:00
parent 97bc09583d
commit 643669fe4f
4 changed files with 18 additions and 6 deletions

View file

@ -40,7 +40,7 @@ func init() {
DeviceAuthorization: op.DeviceAuthorizationConfig{
Lifetime: 5 * time.Minute,
PollInterval: 5 * time.Second,
UserFormURL: testIssuer + "device",
UserFormURL: "/device",
UserCode: op.UserCodeBase20,
},
}