Catto
Catto
CC#
Created by Catto on 4/14/2025 in #help
[ADVANCED] How to reset supabase auth password from ASP.NET WEB API SERVER?
someting like this will do?
66 replies
CC#
Created by Catto on 4/14/2025 in #help
[ADVANCED] How to reset supabase auth password from ASP.NET WEB API SERVER?
// Create a new HttpRequestMessage for this specific request
var requestMessage = new HttpRequestMessage(HttpMethod.Put, $"{_config["Supabase:Url"]}/auth/v1/user");

// Add the necessary headers to this specific request
requestMessage.Headers.Add("apikey", _supabaseSettings.ServiceRoleKey);
requestMessage.Headers.Authorization = new AuthenticationHeaderValue("Bearer", accessToken);

// Add the payload
var payload = new
{
password = request.Password
};
requestMessage.Content = JsonContent.Create(payload);

// Send the request
var response = await _httpClient.SendAsync(requestMessage);
// Create a new HttpRequestMessage for this specific request
var requestMessage = new HttpRequestMessage(HttpMethod.Put, $"{_config["Supabase:Url"]}/auth/v1/user");

// Add the necessary headers to this specific request
requestMessage.Headers.Add("apikey", _supabaseSettings.ServiceRoleKey);
requestMessage.Headers.Authorization = new AuthenticationHeaderValue("Bearer", accessToken);

// Add the payload
var payload = new
{
password = request.Password
};
requestMessage.Content = JsonContent.Create(payload);

// Send the request
var response = await _httpClient.SendAsync(requestMessage);
im guessing
66 replies
CC#
Created by Catto on 4/14/2025 in #help
[ADVANCED] How to reset supabase auth password from ASP.NET WEB API SERVER?
hmhmhm
66 replies
CC#
Created by Catto on 4/14/2025 in #help
[ADVANCED] How to reset supabase auth password from ASP.NET WEB API SERVER?
well it works idk
66 replies
CC#
Created by Catto on 4/14/2025 in #help
[ADVANCED] How to reset supabase auth password from ASP.NET WEB API SERVER?
why wouldnt that work
66 replies
CC#
Created by Catto on 4/14/2025 in #help
[ADVANCED] How to reset supabase auth password from ASP.NET WEB API SERVER?
im not sure how you think so
66 replies
CC#
Created by Catto on 4/14/2025 in #help
[ADVANCED] How to reset supabase auth password from ASP.NET WEB API SERVER?
might work
66 replies
CC#
Created by Catto on 4/14/2025 in #help
[ADVANCED] How to reset supabase auth password from ASP.NET WEB API SERVER?
so rather than doing it through the supabase client i just do like this
66 replies
CC#
Created by Catto on 4/14/2025 in #help
[ADVANCED] How to reset supabase auth password from ASP.NET WEB API SERVER?
directly, and passing my payload and that will update the user
66 replies
CC#
Created by Catto on 4/14/2025 in #help
[ADVANCED] How to reset supabase auth password from ASP.NET WEB API SERVER?
im gonna be calling some endpoint on supabase
66 replies
CC#
Created by Catto on 4/14/2025 in #help
[ADVANCED] How to reset supabase auth password from ASP.NET WEB API SERVER?
Heres what i got
66 replies
CC#
Created by Catto on 4/14/2025 in #help
[ADVANCED] How to reset supabase auth password from ASP.NET WEB API SERVER?
No description
66 replies
CC#
Created by Catto on 4/14/2025 in #help
[ADVANCED] How to reset supabase auth password from ASP.NET WEB API SERVER?
refresh token i dont even know where id get from tbh, meh
66 replies
CC#
Created by Catto on 4/14/2025 in #help
[ADVANCED] How to reset supabase auth password from ASP.NET WEB API SERVER?
i only had the access token
66 replies
CC#
Created by Catto on 4/14/2025 in #help
[ADVANCED] How to reset supabase auth password from ASP.NET WEB API SERVER?
access token and refresh token
66 replies
CC#
Created by Catto on 4/14/2025 in #help
[ADVANCED] How to reset supabase auth password from ASP.NET WEB API SERVER?
will try it out but yea
66 replies
CC#
Created by Catto on 4/14/2025 in #help
[ADVANCED] How to reset supabase auth password from ASP.NET WEB API SERVER?
and i think its found a soltuion to my issue
66 replies
CC#
Created by Catto on 4/14/2025 in #help
[ADVANCED] How to reset supabase auth password from ASP.NET WEB API SERVER?
But actually, i was speaking to th LLM earlier
66 replies
CC#
Created by Catto on 4/14/2025 in #help
[ADVANCED] How to reset supabase auth password from ASP.NET WEB API SERVER?
perhaps that would have given them some thought
66 replies
CC#
Created by Catto on 4/14/2025 in #help
[ADVANCED] How to reset supabase auth password from ASP.NET WEB API SERVER?
true, i never thought of mentioning claims services stuff to the LLMs
66 replies