diff --git a/apps/login/locales/en.json b/apps/login/locales/en.json
index 806b91dbff..1b52353c87 100644
--- a/apps/login/locales/en.json
+++ b/apps/login/locales/en.json
@@ -197,6 +197,11 @@
"title": "would like to connect:",
"description": "By clicking Allow, you allow this app and Zitadel to use your information in accordance with their respective terms of service and privacy policies. You can revoke this access at any time.",
"submit": "Allow"
+ },
+ "scope": {
+ "email": "Access your email address.",
+ "profile": "Access your full profile information.",
+ "offline_access": "Allow offline access to your account."
}
},
"error": {
diff --git a/apps/login/src/app/(login)/device/consent/page.tsx b/apps/login/src/app/(login)/device/consent/page.tsx
index ee4312b955..1c33d6c831 100644
--- a/apps/login/src/app/(login)/device/consent/page.tsx
+++ b/apps/login/src/app/(login)/device/consent/page.tsx
@@ -33,6 +33,8 @@ export default async function Page(props: {
userCode,
});
+ console.log(deviceAuthorizationRequest);
+
let defaultOrganization;
if (!organization) {
const org: Organization | null = await getDefaultOrg({
@@ -48,19 +50,28 @@ export default async function Page(props: {
organization: organization ?? defaultOrganization,
});
+ const params = new URLSearchParams();
+
+ if (requestId) {
+ params.append("requestId", requestId);
+ }
+
+ if (organization) {
+ params.append("organization", organization);
+ }
+
return (