mirror of
https://github.com/davidallendj/opaal.git
synced 2025-12-20 03:27:02 -07:00
Added audience override for token sent to authorization server
This commit is contained in:
parent
20ba7bc735
commit
c67c6f75a2
3 changed files with 12 additions and 3 deletions
|
|
@ -60,8 +60,9 @@ func Login(config *Config) error {
|
|||
ExpiresAt: time.Now().Add(config.Authorization.Token.Duration),
|
||||
Scope: []string{},
|
||||
},
|
||||
Verbose: config.Options.Verbose,
|
||||
Refresh: config.Authorization.Token.Refresh,
|
||||
Verbose: config.Options.Verbose,
|
||||
Refresh: config.Authorization.Token.Refresh,
|
||||
Audience: config.Authorization.Audience,
|
||||
},
|
||||
ClientCredentialsEndpoints: flows.ClientCredentialsFlowEndpoints{
|
||||
Clients: config.Authorization.Endpoints.Clients,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue