on-internet

Windows integrated authentication fails in ASP.NET Core Web API with vite proxy

I'm trying to get Windows integrated authentication to work with the WeatherForecast in Visual Studio project template using ASP.NET Core Web API and React frontend. The API is running on Kestrel on https://localhost:7094. I am able to hit https://localhost:7094/weatherforecast directly with a web browser and see the HttpContext.User successfully. The React frontend is on https://localhost:50083. Without authentication enabled on the backend, I can hit https://localhost:50083/weatherforecast successfully and get the JSON response. However, with authentication enabled on the backend, I get 400

Join the discussion →

Windows Integrated Authentication fails in Visual Studio full stack api with vite proxy

I'm trying to get Windows Integrated Authentication to work with the WeatherForecast Visual Studio asp.net api and react front end full stack project template. The api is running on kestrel on https://localhost:7094. I am able to hit https://localhost:7094/weatherforecast directly with a web browser and see the HttpContext.User successfully. The react frontend is on https://localhost:50083. Without authentication enabled on the backend, I can hit https://localhost:50083/weatherforecast successfully and get the json response. However, with authentication enabled on the backend, I get 400 respon

Join the discussion →

Google Cloud IAP returns Error 9 after OAuth redirect on Cloud Run

I'm troubleshooting Google Cloud Identity-Aware Proxy (IAP) authentication for a Cloud Run service. Environment Google Cloud Run, region asia-northeast3 IAP enabled on the Cloud Run service Custom OAuth client of type Web application Accessing the service directly through its run.app URL No external load balancer or URL rewrite rules are known to be involved Problem When accessing the /health endpoint, IAP redirects the browser through Google OAuth authentication. However, after the authentication redirect, the browser returns: There was a problem with your request. Error code 9 In DevTools, t

Join the discussion →

How can I check programmatically whether a Telegram t.me invite link is still valid?

I maintain a list of public Telegram group invite links (t.me/groupname and t.me/+code) and want to detect dead links automatically instead of checking them by hand. Links stop working when admins revoke them, change the group username or set an expiry or usage limit. What I tried: [paste your actual code here, for example a Python requests call to the link and how you parse the response] What I observed: [describe the real response for a working link and for a dead link: status code, page content, differences] What I need: A reliable way to tell a live link from a dead one without joining the

Join the discussion →

What Holiday or Holidays do you just not celebrate?

submitted by Necrifyre to asklemmy 1 points | 0 comments It’s always the first three quarters of the year entirely where I just do not care for its holidays. They’re all boring and forgettable to me. Which is why I love the last quarter of the year where Halloween, X-Mas and X-Mas Part II reside. New Year’s Day - Wooo…just watching a ball drop and people just drinking or going to NY just to kiss on camera. Valentine’s Day - Awesome…just to be reminded how single some of us are so all of the mush of couples being shoved in our faces. St. Patrick’s Day - Just another excuse to go out drinking to

Join the discussion →

Manually deserializing query params in Spring Boot

In my project we have a search endpoint. The search uses query params that we deserialize into an object, so it looks something like: @GetMapping("/search") public ResponseEntity<MySearchResults> doSearch(SearchCriteria criteria) { ... } I now have a case where I will get those same query params as a Map<String, String> and need to build that same SearchCriteria object from it. I do not have the ability to change the controller method that originally gets the query params. While I could just do a bunch of String manipulation do build that object, that's going to be inelegant and hard to mainta

Join the discussion →

Nintendo Takes Down Switch Emulators, Mod Chip Firmware in Massive GitHub DMCA Sweep

Nintendo has issued four DMCA takedown notices targeting two Nintendo Switch emulators, Yuzu and Citron Neo, along with mod chip firmware such as Picofly, SX Core and HWFLY. As a result, 144 repositories containing firmware used to circumvent the console's copy protections have been removed by GitHub and replaced by a DMCA takedown notice. IGN reports: GitHub has posted Nintendo's November 6 DMCA notice, which says, "The Nintendo Switch console and video games contain technological protection measures ('TPMs') that permit the Nintendo Switch console to interact only with legitimate Nintendo vi

Join the discussion →

Resuming an existing PHP session twice makes the server send the session cookie

I apologize in advance if this is such a basic question, but I can't get my head around it. I'm using php-fpm on Apache. I call start_session() for the first time. The server sends the Set-Cookie header with "PHPSESSID", as expected: <?php session_start(); session_write_close(); die(); ?> In subsequent calls to the same script, the server does not send the Set-Cookie header, as the session is resuming rather than starting for the first time, as expected. Then, I modify the script and add another session_start() and session_write_close(). Now, the server always sends the Set-Cookie header, with

Join the discussion →

What is the future of software engineering in regards of learning?

submitted by abbadon420 to asklemmy 1 points | 0 comments I know these kinda questions get asked a lot these days, but hear me out. I’m a junior-going-on-medior software engineer, graduated last year and have been (more or less) teaching programming for four years. In my search to find meaning in life, I stumbled into programming and found that there was a lot to learn. I loved it. That’s why I eventually chose to switch careers once I musterred enoigh resources to do so. I chose this job because I like learning and I want to keep learning for the rest of my life. I love the way how learning i

Join the discussion →

Do you associate this manner of speaking with any particular region?

submitted by nipawomset to asklemmy -4 points | 2 comments https://vimeo.com/1238180144 To forestall any suspicions: she is not AI. It’s a real voice actress and I’m trying to determine whether this manner of speaking is reminiscent of any specific region or whether it’s a placeless, purely performative affectation.

Join the discussion →
Older stories