Login failed: app.6623950681416881be18@service.cloud.appwrite.io (role: applications) missing scope (public) help pls C# .net framework app try to login
@Moderator
Could you send the code?
Also, avoid pinging everyone in the future 😅
okay sry
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Net.Http; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; using Appwrite; using Appwrite.Models; using Appwrite.Services; using Newtonsoft.Json;
namespace WindowsFormsApp1 { public partial class Form1 : Form {
private Client client;
public Form1()
{
InitializeComponent();
client = new Client()
.SetEndpoint("https://cloud.appwrite.io/v1") // Replace with your Appwrite endpoint
.SetProject("6623950681416881be18") // Replace with your Appwrite project ID
.SetKey("0b31aa733f199c287c635f93f29e81dfd61caab583a3d404bedadb94eea1d445790a2fb3ce627330ce9678aed19d42acae77f6a39eb3c0e5109f4e8cc2559b766d47b17995b3d4550d20c1530ce2fd532f515352810c94cc4cfbc50c69f8898571015206f91b1b6e328a42c2b6b0d995e2561046475bb7c22d8b597eb2d59bbe");
}
private async void button1_Click_1(object sender, EventArgs e)
{
try
{
Account account = new Account(client);
Session result = await account.CreateEmailPasswordSession(
email: "osamawahed1234@gmail.com",
password: "01012683392"
);
// Login successful
Console.WriteLine("Session ID: " + result.Id);
}
catch (AppwriteException ex)
{
// Error occurred during login
Console.WriteLine("Login failed: " + ex.Message);
}
}
}
}
Recommended threads
- GB Hours IS NOT resetting
Hi, I was checking my usage and noticed that all of my usage quotas were reset on August 20, 2026, when my billing cycle renewed. Everything else appears to ha...
- Confused about Appwrite Pro pricing
Hi. I've been subscribed to the $25 Appwrite Pro plan, but I've been getting charged $40. I have two projects on my account. I was wondering where exactly the e...
- Custom domain for Google Auth
Hello! I connected my custom domain to my Appwrite project, but I can't get the Google login/consent screen to show my domain instead of the Appwrite domain. I...