CodingPR (@CodingPR) header
CodingPR (@CodingPR) profile picture

Bilingual (English and Spanish) programming resources, E-commerce and Subscription infrastructure (SAAS), React, Vue, Javascript, and Python. Visit our blog 👇

Puerto Rico
Joined July 2022
Photo by CodingPR (@CodingPR)Photo by CodingPR (@CodingPR)Photo by CodingPR (@CodingPR)Photo by CodingPR (@CodingPR)Photo by CodingPR (@CodingPR)Photo by CodingPR (@CodingPR)Photo by CodingPR (@CodingPR)Photo by CodingPR (@CodingPR)Photo by CodingPR (@CodingPR)Photo by CodingPR (@CodingPR)
Happy Women's Day !
3
53
324
28,607
😁😁
Check if Instagram or Facebook is down using Python
9
What is SSO (Single Sign-On)? Single Sign-On (SSO) is an authentication scheme. It allows a user to log in to different systems using a single ID. The diagram below illustrates how SSO works. Step 1: A user visits Gmail, or any email service. Gmail finds the user is not logged in and so redirects them to the SSO authentication server, which also finds the user is not logged in. As a result, the user is redirected to the SSO login page, where they enter their login credentials. Steps 2-3: The SSO authentication server validates the credentials, creates the global session for the user, and creates a token. Steps 4-7: Gmail validates the token in the SSO authentication server. The authentication server registers the Gmail system, and returns “valid.” Gmail returns the protected resource to the user. Step 8: From Gmail, the user navigates to another Google-owned website, for example, YouTube. Steps 9-10: YouTube finds the user is not logged in, and then requests authentication. The SSO authentication server finds the user is already logged in and returns the token. Step 11-14: YouTube validates the token in the SSO authentication server. The authentication server registers the YouTube system, and returns “valid.” YouTube returns the protected resource to the user. The process is complete and the user gets back access to their account. Over to you: Question 1: have you implemented SSO in your projects? What is the most difficult part? Question 2: what’s your favorite sign-in method and why? – Subscribe to our weekly newsletter to get a Free System Design PDF (158 pages): bit.ly/3KCnWXq
9
177
2
719
46,208
CodingPR retweeted
10M weekly npm downloads! ⚡️ Vite downloads are a reflection of the constant growth of a lot of projects! Kudos to all the teams in the ecosystem that keep working together to improve our shared base 💜
11
51
12
747
99,174
How does Git Work? The diagram below shows the Git workflow. Git is a distributed version control system. Every developer maintains a local copy of the main repository and edits and commits to the local copy. The commit is very fast because the operation doesn’t interact with the remote repository. If the remote repository crashes, the files can be recovered from the local repositories. Over to you: Which Git command do you use to resolve conflicting changes? Subscribe to our weekly newsletter to get a Free System Design PDF (158 pages): bit.ly/3KCnWXq
5
113
2
448
27,420
A handy cheat sheet for the most popular cloud services. What’s included? - AWS, Azure, Google Cloud, Oracle Cloud, Alibaba Cloud - Cloud servers - Databases - Message queues and streaming platforms - Load balancing, DNS routing software - Security - Monitoring Over to you - which company is the best at naming things? Subscribe to our newsletter to download the 𝐡𝐢𝐠𝐡-𝐫𝐞𝐬𝐨𝐥𝐮𝐭𝐢𝐨𝐧 𝐜𝐡𝐞𝐚𝐭 𝐬𝐡𝐞𝐞𝐭. After signing up, find the download link on the success page: bit.ly/3tiMC1B
15
142
2
675
48,614
youWillNeverFindAnotherLikeMe reddit.com/r/programmerhumor…
10
49
5
672
42,825
Friendly reminder to be extra careful using AWS Lambda functions‼️ – at Luquillo, Puerto Rico
29
Linux Mint 21.3 “Virginia” released! blog.linuxmint.com/?p=4624
50
211
28
1,300
72,687
Oauth 2.0 Explained With Simple Terms. OAuth 2.0 is a powerful and secure framework that allows different applications to securely interact with each other on behalf of users without sharing sensitive credentials. The entities involved in OAuth are the User, the Server, and the Identity Provider (IDP). What Can an OAuth Token Do? When you use OAuth, you get an OAuth token that represents your identity and permissions. This token can do a few important things: Single Sign-On (SSO): With an OAuth token, you can log into multiple services or apps using just one login, making life easier and safer. Authorization Across Systems: The OAuth token allows you to share your authorization or access rights across various systems, so you don't have to log in separately everywhere. Accessing User Profile: Apps with an OAuth token can access certain parts of your user profile that you allow, but they won't see everything. Remember, OAuth 2.0 is all about keeping you and your data safe while making your online experiences seamless and hassle-free across different applications and services. Over to you: Imagine you have a magical power to grant one wish to OAuth 2.0. What would that be? Maybe your suggestions actually lead to OAuth 3. – Subscribe to our weekly newsletter to get a Free System Design PDF (158 pages): bit.ly/3KCnWXq
2
194
1
785
47,061
The wonders of JavaScript 😅 anonymous function calling itself at the end – at Luquillo, Puerto Rico
programming is so crazy. like, how does this actually mean anything
41
33
379
37
3,234
129,449
How does Google Authenticator (or other types of 2-factor authenticators) work? Google authenticator is commonly used for logging into our accounts when 2-factor authentication is enabled. How does it guarantee security? Google Authenticator is a software-based authenticator that implements a two-step verification service. The diagram below provides detail. There are two stages involved: Stage 1 - The user enables Google two-step verification Stage 2 - The user uses the authenticator for logging in, etc. Let’s look at these stages. 𝐒𝐭𝐚𝐠𝐞 1 Steps 1 and 2: Bob opens the web page to enable two-step verification. The front end requests a secret key. The authentication service generates the secret key for Bob and stores it in the database. Step 3: The authentication service returns a URI to the frontend. The URI is composed of a key issuer, username, and secret key. The URI is displayed in the form of a QR code on the web page. Step 4: Bob then uses Google Authenticator to scan the generated QR code. The secret key is stored in the authenticator. 𝐒𝐭𝐚𝐠𝐞 2 Steps 1 and 2: Bob wants to log into a website with Google two-step verification. For this, he needs the password. Every 30 seconds, Google Authenticator generates a 6-digit password using the TOTP (Time-based One Time Password) algorithm. Bob uses the password to enter the website. Steps 3 and 4: The frontend sends the password Bob enters to the backend for authentication. The authentication service reads the secret key from the database and generates a 6-digit password using the same TOTP algorithm as the client. Step 5: The authentication service compares the two passwords generated by the client and the server, and returns the comparison result to the frontend. Bob can proceed with the login process only if the two passwords match. – Subscribe to our weekly newsletter to get a Free System Design PDF (158 pages): bit.ly/42Ex9oZ
12
242
1
867
115,161
👇 – at Luquillo, Puerto Rico
This quoted post is unavailable.
5
Windows 98 product key
54
380
36
4,349
316,346
🪧Reset a password in the Firebase Auth System. #ReactJS #TypeScript
42