atEnbi retweeted
SSO (Single Sign-On) explained.
SSO can be thought of as a master key to open all different locks. It allows a user to log in to different systems using a single set of credentials.
In a time where we are accessing more applications than ever before, this is a big help to mitigate password fatigue and streamlines user experience.
To fully understand the SSO process, let’s take a look at how a user would log into LinkedIn using Google as the identity provider:
1) User requests access
First, the user would attempt to access the Service Provider (LinkedIn). At this point, a user would be presented with login options, and in this example, they would select "Sign in with Google".
2) Authentication request
From here, the Service Provider (LinkedIn) will redirect the user to the Identity Provider (Google) with an authentication request.
3) IdP checks for active session
Once the Identity Provider (Google) has received the request, it will check for an active session. If it doesn't find one, authentication will be requested.
4) User submits credentials
At this stage, the user will submit their login credentials (username and password) to the Identity Provider (IdP).
5) IdP verifies credentials
The Identity Provider will then verify the submitted credentials against its User Directory (database). If the credentials are correct, the IdP will create an authentication token or assertion.
6) IdP sends token to Service Provider
Once the token or assertion has been created, the IdP sends it back to the Service Provider confirming the user's identity. The user is now authenticated and can access the Service Provier (LinkedIn).
7) Access granted using existing session
Since the Identity Provider has established a session, when the user goes to access a different Service Provider (eg; GitHub), they won't need to re-enter their credentials. Future service providers will request authentication from the Identity Provider, recognize the existing session, and grant access to the user based on the previously authenticated session.
SSO workflows like the above operate on SSO protocols, which are a set of rules that govern how the IdP and SP communicate and trust each other. Common protocols include Security Assertion Markup Language (SAML), OpenID Connect, and OAuth.
~~
A big thank you to our partner Postman who keeps our content free to the community.
Did you know Postman just released a package library feature that enables reusable scripts (I.e., change once, use everywhere). Significantly faster development. Check it out: drp.li/package-library-postm…
Good read, especially for young programmers.
thetshaped.dev/p/3-software-…
#programming #SoftwareDevelopment
atEnbi retweeted
Performance and Optimization in Ruby on Rails
Optimizing the performance of Ruby on Rails applications involves a combination of intelligent caching, efficient scalability, and fine-tuning configuration.
#DEVCommunity #Ruby
dev.to/abraaocrvlh42/perform…
atEnbi retweeted
How to Avoid Elasticsearch Reindex
Let's improve our Elasticsearch skills!
#DEVCommunity #Ruby
dev.to/montells/how-to-avoid…
atEnbi retweeted
We lost a titan of programming languages, programming methodology, software engineering and hardware design. Niklaus Wirth passed away on the first of January. We mourn a pioneer, colleague, mentor and friend.
atEnbi retweeted
Clean Code Is Not Quick Code!💻
Clean code is not quick code, it's smart code.
#DEVCommunity #Ruby
dev.to/parsafarahani84/clean…
Checkout a list of travel apps that can make you journeys much more pleasant and life easier.
atenbi.com/blog/traveling-wi…
#traveler #travelapps #traveltech #travelling
Is Elixir the next step for Ruby devs? leemeichin.com/posts/switchi…
#elixir #rubyonrails #SoftwareDevelopers
atEnbi retweeted
ChatGPT has 100,000,000+ users.
But almost NO ONE is using it correctly. Subscribe to the Deep View AI newsletter to learn how for free.
atEnbi retweeted
Microsoft has released 5 free courses on AI.
No payment is required!
Here are 5 FREE Microsoft courses to master AI in 2023.
atEnbi retweeted
Here’s a CV template created by Harvard.
I have uploaded the word form to a google drive so you don’t have to create from scratch.
You just need to edit and include your details.
atEnbi retweeted
Google's initial team had just 3 people. Apple's crew was only 25 when they introduced the Apple II. WhatsApp was serving 600 million users with a team of roughly 50 engineers.
There's a subtle art to crafting amazing software:
atEnbi retweeted
Node.js finally has support for loading .env files! You'll no longer need the dotenv package
Dropped in 20.6.0
Also supports passing runtime flags like --inspect and --watch
Small step for us, huge advantage for our UK clients.
Happy to share the news!
atenbi.com/blog/strategic-ex…
#limitedcompany #London #ResearchDevelopment #taxdeductions
























