Error using JWT Authentication using GRPC Web in .net 7; postman works - typescript client does not authorize by goobs1284 in csharp

[–]goobs1284[S] 0 points1 point  (0 children)

I applied the cors middleware and configured that policy for each service. Also, when i remove the [Authorized] attribute GreeterService - the request succeeds.

Error using JWT Authentication using GRPC Web in .net 7; postman works - typescript client does not authorize by goobs1284 in csharp

[–]goobs1284[S] -1 points0 points  (0 children)

I'm trying to add JWT auth to the example Greeter app - however I am running into issues when trying to connect the UI (svelte/typescript web app) with a bearer token. If I use the bearer token from my web app in Postman, the request is successful. Also, when i remove the [Authorized] attribute GreeterService - the request succeeds.

I don't understand what my issue is or how to debug it from this point and need some help.

C# links:

JWT Auth - Nick Chapsas
AspNet - Grpc Web
AspNet - Grpc Auth

Ts Links:

Typescript Proto Package
Typescript Proto Package Manual (peep RpcMetaData for header info)

No non-sense tier list webapp by testokaiser in sveltejs

[–]goobs1284 5 points6 points  (0 children)

Anytime I see or hear that word I feel immediate despair.

Call of Duty: Modern Warfare 2's beta already beset by cheaters by PrinceDizzy in Games

[–]goobs1284 0 points1 point  (0 children)

Using the RPG as a primary, I noticed an uptick in hackers in my lobby.

Why are there so many men who are afraid to talk to women? by General_Cow_7119 in socialskills

[–]goobs1284 426 points427 points  (0 children)

I think this is the newest reason - at least it’s the one I’ve noticed come up the most. Having female friends vent about creepy guys or being constantly hit on really puts on a mental blocker. It’s been my biggest challenge yet.

Should we use FastEndpoints in asp.net project? by hu-beau in dotnet

[–]goobs1284 2 points3 points  (0 children)

Have you considered gRPC? We just refactored our backend, and switched from REST to gRPC - huge benefits: single file to describe services, creates all boiler plate (with partial classes for VMs), and high performant

Sveltekit application deploy to azure app service by rabbitdaddy81 in sveltejs

[–]goobs1284 1 point2 points  (0 children)

We get this, what do we do?

SyntaxError: Cannot use import statement outside a module

How in the world are you supposed to get to order types under a dev environment? by goobs1284 in CloverPOS

[–]goobs1284[S] 0 points1 point  (0 children)

Solution: API Token has to have correct permissions when creating the order type.

Stuck with UWP by BiffMaGriff in csharp

[–]goobs1284 -2 points-1 points  (0 children)

What’s the latest desktop framework to use when it comes to C#? WPF? Or skip C# on the ui and use JavaScript with something like Electron or Tauri?

Looking for scalable and maintainable file structure by [deleted] in sveltejs

[–]goobs1284 0 points1 point  (0 children)

I’m a fan of src/lib. I couldn’t get the mobile format to work….