diff --git a/.idea/workspace.xml b/.idea/workspace.xml
index edc6821..21152d5 100644
--- a/.idea/workspace.xml
+++ b/.idea/workspace.xml
@@ -4,10 +4,9 @@
-
+
-
-
+
@@ -154,7 +153,6 @@
-
@@ -179,7 +177,8 @@
-
+
+
true
diff --git a/pkg/internal/server/api/oauth_api.go b/pkg/internal/server/api/oauth_api.go
index eb5a447..4f2ad72 100755
--- a/pkg/internal/server/api/oauth_api.go
+++ b/pkg/internal/server/api/oauth_api.go
@@ -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,