Programming Tips πŸ’‘
51.6K subscribers
67 photos
10 videos
30 files
354 links
Programming & AI:
Tips πŸ’‘
Articles πŸ“•
Resources πŸ‘Ύ
Design Patterns πŸ’Ž
Software Principles βœ…

πŸ‡³πŸ‡± Contact: @MoienTajik

🎯 Buy ads: https://telega.io/c/ProgrammingTip
Download Telegram
Authentication In ASP.NET Core API πŸ”

β€’ Part 1 - Identity, Access Denied :
https://goo.gl/F4YYKs

β€’ Part 2 - Identity, Access Granted :
https://goo.gl/vmrUY2

β€’ Part 3 - JSON Web Token ( JWT ) :
https://goo.gl/5JVEVt

γ€°γ€°γ€°γ€°γ€°γ€°
#Aspnet #Core #Authentication
@ProgrammingTip
Authentication in ASP.​NET Core for your Web API and Angular2+ using JWT πŸ”‘

Authentication in a single page application is a bit more special, if you just know the traditional ASP.NET way.

To imagine that the app is a completely independent app like a mobile app helps.

Token based authentication is the best solution for this kind of apps.

https://t.me/pgimg/11

[ Website ] : http://bit.do/jwtasp
γ€°γ€°γ€°γ€°γ€°γ€°
#AspMvc #WebApi #Authentication #JWT
@ProgrammingTip
Passport.Js ⚑️

Passport is authentication middleware for Node.js.

Extremely flexible and modular, Passport can be unobtrusively dropped in to any Express-based web application. πŸ”₯

A comprehensive set of strategies support authentication using a username and password, Facebook, Twitter, and more. 🐦

https://t.me/pgimg/85

[ Website ] : passportjs.org

γ€°γ€°γ€°γ€°γ€°γ€°
#JavaScript #NodeJs #Authentication
@ProgrammingTip
Auth0: Introduction and Initial ASP.NET MVC Project Setup πŸš€

The big selling points for Auth0, and other services like it, are that it removes you from having to worry about Auth/User Management and get to the part of your applications that bring value to your customers. πŸ‘₯

As with Identity Server, Auth0 can use OpenID Connect (as well as a lot of other protocols), single sign-on and API Access Control. βœ…

https://t.me/pgimg/94

[ Article ] : http://bit.do/auas

γ€°γ€°γ€°γ€°γ€°γ€°
#AspMvc #Auth0 #Authentication
@ProgrammingTip
Branca as an Alternative to JWTβ“πŸ”

Branca is a catchy name for IETF XChaCha20-Poly1305 AEAD message with an additional version number and timestamp.πŸ•’

It is well suited to be used as an authenticated and encrypted API token. πŸ‘₯

Branca specification does not specify the payload format. Among others you can use for example JWT payloads but still have modern encryption and smaller token size provided by Branca. ⚑️

Currently there are implemenations for JavaScript, Elixir, Go and PHP and a command line tool for creating and inspecting tokens. ✨

Heads up❗️JWT itself is the payload part of a larger standard called Javascript Object Signing and Encryption (JOSE). That said the term JWT has become ubiquitous when actually referring JSON Web Signature (JWS) or JSON Web Encryption (JWE). πŸ”‘

Branca is based on Fernet specification. πŸ’Ž

Fernet takes an user provided message, a secret key and the current time and generates an Authenticated Encrypted (AE) token. Authenticated encryption specifies a way to secure a message so that a 3rd party cannot fake it, alter it nor read it. πŸŒ€


https://t.me/pgimg/171

[ Read More ] : kutt.it/branca

γ€°γ€°γ€°γ€°γ€°γ€°
#Branca #Authentication #JWT
@ProgrammingTip