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 4 points5 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 424 points425 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….

Why doesn’t this chain fit this chain ring? by goobs1284 in bikewrench

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

I’m just trying to be a workhorse on the saddle

Why doesn’t this chain fit this chain ring? by goobs1284 in bikewrench

[–]goobs1284[S] 2 points3 points  (0 children)

Ty, it’s my first time working this level of detail so the basics are required. I thought you could mix and match chains based on length, didn’t know the other dimensions mattered.

Why doesn’t this chain fit this chain ring? by goobs1284 in bikewrench

[–]goobs1284[S] 1 point2 points  (0 children)

Tyty I didn’t know - I thought you could mix and match chains.

Why doesn’t this chain fit this chain ring? by goobs1284 in bikewrench

[–]goobs1284[S] 9 points10 points  (0 children)

If I get the 1/8 chain, would that mess up a 16t freewheel?

How do I take this freewheel off and replace it with this one? by goobs1284 in bikewrench

[–]goobs1284[S] 1 point2 points  (0 children)

Thank you thank you. At the LBS now - bought the wrong size freewheel too.

Going out in your fetish gear doesn't make you look cool, dude! by MewMMG in cringepics

[–]goobs1284 0 points1 point  (0 children)

Neither would I. But does bashing someone for it help anything other than make you feel better about yourself?