A Developer's Guide to SAML

  Рет қаралды 197,076

OktaDev

OktaDev

Күн бұрын

SAML is one of the most widely used identity security standards in the industry today, yet can seem daunting to support. This is especially true for developers being asked to support SAML for the first time. The age of SAML combined with its numerous revisions over the years makes it difficult to learn and use. Not to mention the complexities of SAML being used in slightly different and nuanced ways in different applications. In this talk, you'll learn all about the SAML protocol, how it works, and how to use it in a modern application. You'll also learn what pitfalls to look out for and how to resolve them.
Speakers:
Nick Gamb, Okta
__
Don't forget to subscribe to our channel and hit the notification bell so you never miss an upload: bit.ly/OktaYout...
__
Additional SAML resources:
auth0.com/blog...
samltool.io/
__
Sign up for our monthly newsletter! a0.to/zeroindex
Want more Okta? Check out our social media for updates:
bit.ly/OktaLink...
bit.ly/OktaTwit...
bit.ly/OktaFace...

Пікірлер: 123
@kepler_iii9373
@kepler_iii9373 11 ай бұрын
Okta's technical guides around identity never disappoint!
@joneslt
@joneslt Жыл бұрын
This was fantastic! There are too many people out there attempting to post technical instructional videos who don't really have an in depth understanding of the material, or don't know how to explain it. This was a rare find. Thanks for posting!
@mumk
@mumk 3 ай бұрын
I totally feel this
@willhu4272
@willhu4272 3 жыл бұрын
It's the best video that explains the whole story of SAML. The extraordinary part is explaining "Most common weak points" start from 17:32!
@beeramkrishnnareddy8846
@beeramkrishnnareddy8846 Жыл бұрын
M A
@pravin24it
@pravin24it Жыл бұрын
Best thing I found on KZbin for SAML security audit. Thank you very much for detailed information about SAML including the flows.
@gregorycook5305
@gregorycook5305 Жыл бұрын
I know this video is old but it's still chock full of information. Thank you for the video sir.
@jongpac2
@jongpac2 9 ай бұрын
This is the best lecture I have seen including school to online tutorials, I love you!!!
@andresau90
@andresau90 2 жыл бұрын
THE BEST video for developers to keep things secure!
@yousifbodagh2113
@yousifbodagh2113 5 ай бұрын
The best video on KZbin covering this topic.
@LexDaBigG
@LexDaBigG 2 жыл бұрын
Best video on SAML ever! Kind had to grin at 7:02 where he talks about the convenience feature of saml metadata! Real shame that okta lacks the upload SP metadata feature ;-) this is quite standard for other IDPs
@kolcha
@kolcha Жыл бұрын
Very well organized guide and superbly presented. You are excellent teacher. Thank you.
@tech_gadgets_maniac
@tech_gadgets_maniac 2 жыл бұрын
Best ever video on SSO... Simply love it
@JJ89MK12
@JJ89MK12 2 жыл бұрын
Correct me if I'm wrong, but as I understand it SSO only happens when a user performs an Identity Provider Initiation. By providing your credentials to the Identity Provider once, the Identity Provider can send SAML responses toward any application or service you're trying to use. However, if as a user you're required to start the SAML process with the Service Provider first (Service Provider Initiation), then a SAML Request is sent to the Identity Provider who in turn returns a SAML Response. This interaction is only valid for that one, specific Service Provider, not all Service Providers, meaning that you'd have to repeat this login process again for any other application you might want to use. In other words, for any Service Provider that requires you to begin the authentication process with itself first, you're going to be redirected somewhere to provide your login credentials. If you have 3 Service Providers asking to begin the process with each of them, then you're not really participating in a Single-Sign-On experience -- Is this correct?
@maxwellkgalema5568
@maxwellkgalema5568 2 жыл бұрын
That's a good question and I believe the answer is yes, you not participating.
@ShijenN
@ShijenN 2 жыл бұрын
Great question!!! Did you get the answer for this ?
@jano.5485
@jano.5485 Жыл бұрын
Yes and no. If the authentication towards the IdP is also done via SSO (for example Kerberos in a Windows Active Directory environment), then it does not matter how many SAML requests are passed to the IdP, it all happens transparently to the user. At least that is my understanding.
@vil9386
@vil9386 2 жыл бұрын
understood SAML from developers' view at last.... very easily... thank you 🦃
@321zipzapzoom
@321zipzapzoom 3 жыл бұрын
Concepts clearly told and upto Point, Could You do couple of more Videos on QnA involving guys to spend some time along revolving around common Usecases specific to Vendors.
@dushmanta05
@dushmanta05 2 ай бұрын
That was a very good explanation with the security concerns. Thanks.
@rafaelbraga3d
@rafaelbraga3d Жыл бұрын
Awesome explanation, thanks a lot! Now I understand better this flow!
@OktaDev
@OktaDev Жыл бұрын
Glad it helped!
@victorenoma9131
@victorenoma9131 2 ай бұрын
Thank you man. Beautiful piece
@jonathanparker1927
@jonathanparker1927 Жыл бұрын
very nice, thanks for taking the time!
@aroundthisprettyplanet
@aroundthisprettyplanet 2 жыл бұрын
OktaDev videos are the best ever in explaining the concepts! ❤ Would have been much better if you have explained SAML bindings
@OktaDev
@OktaDev 2 жыл бұрын
Noted! Thanks for your feedback and we are glad that you enjoy our videos.
@AdityaKumar-hy6fo
@AdityaKumar-hy6fo Жыл бұрын
Try this one kzbin.info/www/bejne/iafToYuYpdtga80
@murshidav5123
@murshidav5123 3 жыл бұрын
Nice once. The concept is clear now. Can you do a video on SAML + NodeJs
@JohnSmith-wz7he
@JohnSmith-wz7he 3 жыл бұрын
Awesome effort . Very good. Thank you for spending the time to make this presentation
@rashidmehraj8542
@rashidmehraj8542 Жыл бұрын
Excellent Video. TBH! i was confused earlier on how to read a SAML response.
@OktaDev
@OktaDev Жыл бұрын
Glad we could help! Please also check out these additional resources: auth0.com/blog/how-saml-authentication-works/ samltool.io/
@728100
@728100 2 жыл бұрын
Great explanations regarding SAML like it.
@YuliyaTsukanava
@YuliyaTsukanava Жыл бұрын
Really great explanation! Thank you so much!
@ahmetcetin3432
@ahmetcetin3432 3 жыл бұрын
Great, beneficial introduction to SAML, thanks!
@shubhamsingh-gb5zh
@shubhamsingh-gb5zh Жыл бұрын
Amazing explanation 🙇‍♂️
@revathiramanadham3843
@revathiramanadham3843 3 жыл бұрын
Best explanation... Thank you.
@ajmags4731
@ajmags4731 2 жыл бұрын
This has been very helpful!!!
@dimitro.cardellini
@dimitro.cardellini Жыл бұрын
Really useful video! Thanks a lot
@the.rey.ortega
@the.rey.ortega 2 жыл бұрын
This is the best video explaining SAML
@jjrock11
@jjrock11 3 жыл бұрын
Nice work, Nick!
@jdsprankle
@jdsprankle 2 жыл бұрын
Amazing video, very clearly explained
@smohanty3507
@smohanty3507 3 жыл бұрын
thats what I am looking for..perfect explanation
@rajendrakumarnagraj4690
@rajendrakumarnagraj4690 9 ай бұрын
Very well explained. Thanks
@abhishekrai4325
@abhishekrai4325 3 жыл бұрын
Thank you so much for this. Amazing explanation !
@Testacabeza
@Testacabeza Жыл бұрын
Excellent video.
@AbhishekSen
@AbhishekSen Жыл бұрын
Fantastic video!
@karankanojiya7672
@karankanojiya7672 3 жыл бұрын
Excellent Sir !
@hexchad765
@hexchad765 2 жыл бұрын
How would this change when using a CLP (Central Login Page) external to all of this
@vadivelan4228
@vadivelan4228 Жыл бұрын
Good one. Thank you.
@ReviveNRepair
@ReviveNRepair Жыл бұрын
20:58 This could also be mitigated by making sure all the assertions in the SAML response are signed, right?
@durangodave
@durangodave Жыл бұрын
Great video thank you, well done. However i do have to disagree with you on one thing, using a SSO may be more convenient but it is less secure. The best security IMO is to keep PW under personal care and just find a way to remember them. This is less convenient but the fewer parts involved in security validation the better. It is similar to telling noone your password vrs telling 5 friends with the promise they wont tell anyone. Security is only as good as the weakest link and the more links involved the less secure IMO. I code for SSO but i do not use SSO personally. Each of us must make the choice based on convenience.
@sunnyd9878
@sunnyd9878 Жыл бұрын
Just great awesome explanation
@jayak3768
@jayak3768 2 жыл бұрын
Sir can u clarify that all the SP - IP communication is via client browser and not directly between the two parties. Or is there a back channel between the two parties in addition to the client as the intermediary.
@OktaDev
@OktaDev Жыл бұрын
Thanks for watching the video. All the communication between SP and IdP shown in this video happens through the front channel (browser/user agent).
@lizermo2191
@lizermo2191 2 жыл бұрын
I love u man. Thanks to you, I'll probably get a better job. I'll keep you updated
@nagap4231
@nagap4231 Жыл бұрын
Simply Superb
@olmanmora21
@olmanmora21 2 жыл бұрын
27 minutes on youtube sometimes is way better than 4 hours in a lesson room.
@ignaciosplenda2913
@ignaciosplenda2913 16 күн бұрын
Flawless, thanks!
@suhaibshanaa508
@suhaibshanaa508 4 ай бұрын
How can we dockerize this process? and if each SP has different Data what is the good way to save it rather than clone each project and change the metadata and XML file and so on? Can you help?
@ismway
@ismway Жыл бұрын
Http artifect binding in SAML , can u explain real use case and which kind of attack gets eliminated and how to use it
@yashgangrade5460
@yashgangrade5460 11 ай бұрын
Totally worth it.
@jondo-vh8tx
@jondo-vh8tx 11 ай бұрын
very well explained
@MuhammadAwais-m5x
@MuhammadAwais-m5x Жыл бұрын
@OktaDev, In 'Limit the XML Parser" , is the sub heading 'Disable Document Type Definition (DTD) Fetching' wrong and ought to be 'Document Type Definition (DTD) Fetching? ( Felt like that from context )
@gandarmarc2059
@gandarmarc2059 2 жыл бұрын
Very clear
@oleksandrlytvyn532
@oleksandrlytvyn532 2 жыл бұрын
Thanks
@drenyl6491
@drenyl6491 2 жыл бұрын
How to generate SAML request xml? Should the developer of the application generate and supply value on the xml tags?
@g2D1
@g2D1 Жыл бұрын
Terrific!
@jagdeepsingh-rx7tw
@jagdeepsingh-rx7tw Жыл бұрын
@oktadev is there a difference between calculation digest value for saml version 1.0 and 2.0?
@neadlead2621
@neadlead2621 Жыл бұрын
very very very good one
@NTICTECH
@NTICTECH 3 жыл бұрын
hello thanks for the explanation it was very helpful i want to know how to configure a saml with a loadbalancer i had problem that the load balancer doesn't sign on the SPs
@sreyas_sj
@sreyas_sj 8 ай бұрын
In a project that I'm working in, I want to redirect the user to Azure for validating the user, for that how do I redirect him to Azure and generate SAML SSO authentication req? How do I generate this XML req in code, didn't find any resources regarding this Any help would be great. Thanks
@travel_and_dine4871
@travel_and_dine4871 2 жыл бұрын
Hi sir, but how system is passing the username / email id in request to validate at IDP
@danielromerolevy3075
@danielromerolevy3075 3 жыл бұрын
Awesome explanation!
@PriyankRupareliya
@PriyankRupareliya 2 жыл бұрын
Thank you, this is gold
@АлександрБорискин-т7к
@АлександрБорискин-т7к 3 жыл бұрын
Perfect explanation, thanks!
@mlfman
@mlfman 4 ай бұрын
This is awesome
@fsams068
@fsams068 3 жыл бұрын
Very clear, thanks a lot for that!
@vipinkoul595
@vipinkoul595 Жыл бұрын
why do we need to have user profile at Service provider? I am under the assumption that all user details are only in IDP, and not in SP. why do we need to have user details in SP? In that case, can't we skip SSO and login directly into SP if SP is also having user details. Doesn't having user details in IDP and SP keep information at two places? Can anyone help explain it, please.
@TedS-yt2yg
@TedS-yt2yg 11 ай бұрын
If you are allowing users to login directly or use IDP, the profile will need to be stored on the SP side. Even if IDP is the only login solution, a minimum of information needs to be stored on the SP side to determine who logged in using the IDP - probably an email address. The email address provided by the IDP needs to match an email address on the SP side. There are alternatives to this as can be seen in the provisioning section.
@ФаррухИмамбердиев-в7м
@ФаррухИмамбердиев-в7м Жыл бұрын
Excellent explanation, thanks. I finnaly understand SAML and difference beetwen this protocol and OAuth/OpenId Connect. I alse recommend watch video about OAuth/OpenId Connect by Nate Barbettini in this chanell
@OktaDev
@OktaDev Жыл бұрын
You are welcome! That video from Nate is great!
@gdocs1307
@gdocs1307 3 жыл бұрын
Identity Provider means that all users has to be registered there with actual credentials?
@vishalgarg7102
@vishalgarg7102 3 жыл бұрын
No , Actual credentials are saved in Database . Generally IDP communicate with DB for authentication
@germanmartin8778
@germanmartin8778 2 жыл бұрын
Thanks you so much, for explain SAML
@Jacobra60
@Jacobra60 3 жыл бұрын
Good video. Could you show viewing and debugging SAML requests/responses in Chrome or FF. Also can you show some examples of claims rules.
@viswam020
@viswam020 11 күн бұрын
HI Pls upload OIDC/OPENID full video and grant flows..,
@saisrivastavatumuluri9291
@saisrivastavatumuluri9291 3 жыл бұрын
i like the security part of the vedio
@esra_erimez
@esra_erimez 3 жыл бұрын
Fantastic!
@ashannaveen9946
@ashannaveen9946 3 жыл бұрын
Good explanation.
@hassaneloufir8440
@hassaneloufir8440 3 жыл бұрын
thank you so much, grand respect.
@davidaustin967
@davidaustin967 3 жыл бұрын
great guide - thanks for video
@PaulFidika
@PaulFidika 2 жыл бұрын
Why is he only talking into my right ear?
@muhammadusamaalvi6910
@muhammadusamaalvi6910 2 жыл бұрын
very well explained.
@gabrielvinante
@gabrielvinante 2 жыл бұрын
now i understand! great explanation. do you have a video using simpleSamlPhp? thanks in advance
@samyakjain5974
@samyakjain5974 2 жыл бұрын
Can you explain a bit on how to Validate a signature
@mohamedhashish216
@mohamedhashish216 2 жыл бұрын
Thank you so much
@nouribenz
@nouribenz 3 жыл бұрын
Thanks for ur time
@wegwerfDave
@wegwerfDave 3 жыл бұрын
Really good
@sudipghosh7253
@sudipghosh7253 3 жыл бұрын
Clean and perfect 🔥
@focalpointcdw9731
@focalpointcdw9731 3 жыл бұрын
Great video
@SJPYT
@SJPYT 2 жыл бұрын
Thanks mate!
@swedixx65
@swedixx65 3 жыл бұрын
Great video! :)
@MrWaf007
@MrWaf007 Жыл бұрын
attrubtes?
@khaledyalraymi2468
@khaledyalraymi2468 3 жыл бұрын
Thank you.
@ghanshyamkhatri3541
@ghanshyamkhatri3541 3 жыл бұрын
simply Wow!!!
@rezakhan9973
@rezakhan9973 3 жыл бұрын
Perfect - thanks
@SaikiranMurthy
@SaikiranMurthy 2 жыл бұрын
this was good , however i need some more info on Canvas vs SAML
@JessicaMartinez-kd7vx
@JessicaMartinez-kd7vx 2 жыл бұрын
Good stuff
@stackunderflow5951
@stackunderflow5951 3 жыл бұрын
Well, it's better to walk through a SAML workflow and then explain the SAML terms and concepts. It will be more clear.
@purplepanther4153
@purplepanther4153 2 жыл бұрын
Confusing.
@dsldsl6460
@dsldsl6460 10 ай бұрын
This is a good answer to why is still easy to hack a big company :)) . The pour dev has to be extra carefull when configuring the xml parser :)))
@Spegix1
@Spegix1 3 жыл бұрын
Amazing, thank you for all the work you do!
@LadyLatency
@LadyLatency 2 жыл бұрын
ATTRUBTES!!
An Illustrated Guide to OAuth and OpenID Connect
16:36
OktaDev
Рет қаралды 640 М.
How to Hack OAuth
25:10
OktaDev
Рет қаралды 44 М.
How Strong Is Tape?
00:24
Stokes Twins
Рет қаралды 96 МЛН
Quando A Diferença De Altura É Muito Grande 😲😂
00:12
Mari Maria
Рет қаралды 45 МЛН
Гениальное изобретение из обычного стаканчика!
00:31
Лютая физика | Олимпиадная физика
Рет қаралды 4,8 МЛН
Introduction to SAML - Chalktalk on what is it, how it is used
32:03
What is SAML? A Comprehensive Guide with Examples
9:52
ByteMonk
Рет қаралды 54 М.
Everything You Ever Wanted to Know About OAuth and OIDC
33:21
Demystifying SAML Using Spring Security
1:03:25
SpringDeveloper
Рет қаралды 42 М.
OAuth 2.0 and OpenID Connect (in plain English)
1:02:17
OktaDev
Рет қаралды 1,8 МЛН
Build Your Own SSO | What is SSO | SSO Explained
17:20
Piyush Garg
Рет қаралды 47 М.
Difference between cookies, session and tokens
11:53
Valentin Despa
Рет қаралды 684 М.
A Developer's Guide to SCIM
43:13
OktaDev
Рет қаралды 32 М.
How Strong Is Tape?
00:24
Stokes Twins
Рет қаралды 96 МЛН