🐛 Fix internal token audience update isn't fully applied
This commit is contained in:
@ -86,7 +86,7 @@ func authorizeThirdClient(c *fiber.Ctx) error {
|
||||
user,
|
||||
client,
|
||||
strings.Split(scope, " "),
|
||||
[]string{"passport", client.Alias},
|
||||
[]string{services.InternalTokenAudience, client.Alias},
|
||||
c.IP(),
|
||||
c.Get(fiber.HeaderUserAgent),
|
||||
&nonce,
|
||||
@ -107,7 +107,7 @@ func authorizeThirdClient(c *fiber.Ctx) error {
|
||||
user,
|
||||
client,
|
||||
strings.Split(scope, " "),
|
||||
[]string{"passport", client.Alias},
|
||||
[]string{services.InternalTokenAudience, client.Alias},
|
||||
c.IP(),
|
||||
c.Get(fiber.HeaderUserAgent),
|
||||
&nonce,
|
||||
|
Reference in New Issue
Block a user