ASP.NET - validate token (RS256 from Azure)

Befejezett Kiadva: 4 évvel ezelőtt Kiszállításkor fizetve
Befejezett Kiszállításkor fizetve

Hi

I need help with validating my token in ASP.NET.

- I've created App at apps.dev.microsoft.com. I have clientId and clientSecret

- on my mobile app I'm signing in to my Microsoft app and I receive token (RS256)

what I need:

- New ASP.NET app with only one Controller with only one method which returns string: "OK" or "NOT OK"

- that app must validate my request with token in the header: "Authorization: bearer asd987d9qwd.... "

- the ASP.NET app will know my clientId and clientSecret and based on that it should validate if token is valid and return "OK" for my request and "NOT OK" if the token is invalid.

I don't want to validate token by public key. I guess clientId and secret should be enough. Probably you will have to prepare [login to view URL] class but I'm not sure if that's all.

I hope there are some guys who already made such things before and have solution ready.

thanks

.NET ASP.NET Azure C# programozás

Projektazonosító: #19895030

A projektről

1 ajánlat Távolról teljesíthető projekt Utoljára aktív: 4 évvel ezelőtt

Odaítélve:

john1dicosta2

Hi, This is good decision to add security in your api. this is the easy task to authentication token barear in your api through mobile. I can develop this token and api response easily. please allow me for this ta Továbbiak

€34 EUR 3 napon belül
(0 értékelés)
0.0