"Basic Authentication" in Five Minutes

  Рет қаралды 180,175

OktaDev

OktaDev

Күн бұрын

Пікірлер: 31
@longkesh1971
@longkesh1971 5 ай бұрын
Clear, short, great video. I appreciate these kinds of videos where you don't waste time and just give the info the title said it was about.
@jonajo261
@jonajo261 2 жыл бұрын
Good job, clear , rapid, just what i needed. thank you for your work.
@shando_tube
@shando_tube Жыл бұрын
Excellent content. Clearly articulated and explained. Thank you!
@shashishekhar----
@shashishekhar---- 2 жыл бұрын
That is one of the most outstanding videos I have seen on this topic, what a dude, thank you brother 👍.
@sahinislam1163
@sahinislam1163 2 жыл бұрын
HOw to create this local.example file???
@luckbeforeleap
@luckbeforeleap 3 жыл бұрын
Nice explanation. Does Basic Authentication operate on a per-webpage basis only ? Do I need a separate mechanism to allow authenticated "sessions" so that the user will beauthenticated for any page they browse ? Thanks
@bdemers
@bdemers 3 жыл бұрын
It's best to NOT mix Basic Auth, and sessions. Pick one or the other if possible. With Basic Auth your browser will remember the password and submit it on each request back to the server. With sessions your password is only sent to start the session (exchanging a long term credential, for a short term credential). It is possible for a server to accept both, for example the server could default to returning some sort of login page (or redirect to login page) instead of returning a 401. Any API client that needs to use Basic Authentication would need to "preemptively" include the "Authorization" header on each request.
@luckbeforeleap
@luckbeforeleap 3 жыл бұрын
I appreciate your expertise and your reply. Many thanks
@tsunghan_yu
@tsunghan_yu Жыл бұрын
@@bdemers > With Basic Auth your browser will remember the password and submit it on each request back to the server. Where is it stored? Cookies?
@bdemers
@bdemers Жыл бұрын
@@tsunghan_yu It's browser specifc. This is also one of the reasons that basic auth isn't a good choice for the end user. NOTE: A server can respond with a session cookie (or other cookies), but those would not store a password.
@Jtube0101Mega
@Jtube0101Mega 10 ай бұрын
Good lesson! Thank you very much!
@janakaidh4383
@janakaidh4383 4 ай бұрын
Thanks, please advise how we can pass basic authentication header and open a browser using java script (window.open)
@windblue1020
@windblue1020 2 жыл бұрын
clear and easy to understand. thank you
@aliasgarlokhandwala4948
@aliasgarlokhandwala4948 2 жыл бұрын
Clear and to the point. 👍
@SantoshSharma
@SantoshSharma 3 жыл бұрын
nice video. one question. Can you please tell. how you created webpage for basic auth ? it will help in practicing
@psykoj
@psykoj 3 жыл бұрын
Very helpful, but as someone mentioned, can we see the code for the request? What does the header look like?
@diptikulkarni4990
@diptikulkarni4990 2 жыл бұрын
didn't understood as u said..... its created in browser and not in any web page...means where?
@pajeetsingh
@pajeetsingh 2 жыл бұрын
Is this safe? Do commerical corporation use Apache auth basic provider module or they use some pre-webserver(before landing on webserver) or post-webserver(redirect by Apache web-server) to do authentication and Authorization?
@kassuelo8124
@kassuelo8124 2 жыл бұрын
When is recommended to use the basic auth? Give me examples
@astonish1109
@astonish1109 2 жыл бұрын
With the basic auth being depreciated; One of our vendors have reached out requesting that we need to make the changes in our Azure environment, to grant them office 365 exchange online api app permission. This external vendor app only applies to one of our custom domain. My concern is I do not want to give access to all other custom domains in my organization to this external vendor app. And if I do grant the external vendor app access to the org wide, how much of our org environment will be exposed to the vendor, what kind of access will they have etc. Is it possible to enable and grant my office 365 exchange online api permissions to an external vendor app specifically to one of my custom domains?... Just wondering also, if this can be done by specifying a security dynamic azure group and add members? Any suggestions and how would very much appreciated. Many thanks
@gaveno11
@gaveno11 Жыл бұрын
Hi there. Not sure if you found a solution for this but in your Azure app registration you can define the api permissions.
@Nethanel773
@Nethanel773 2 жыл бұрын
Thanks for putting this up.
@IvanRandomDude
@IvanRandomDude 3 жыл бұрын
It is basic indeed
@destinyjames6117
@destinyjames6117 11 ай бұрын
What happens if i have multiple ":" in the username and password
@klobertabdurakhmanova2147
@klobertabdurakhmanova2147 2 жыл бұрын
Thank you for the video, unfortunately we have to do this in school
@alexanonymous5823
@alexanonymous5823 2 жыл бұрын
thanks a lot : ) really useful video
@xxmsaxx
@xxmsaxx Жыл бұрын
The problem with basic AUTH nowadays, it that even if its inside https your ISEC team or the ISEC team of your API integrations partner will often demand more. One could produce exception documentation to prove its acceptable in accordance to sensitivity of material being transmitted if thats the case, but at this point its best to create an oauth solution rather than burning time on justification docs every time your application needs to make a new API integration.
@littlered6340
@littlered6340 2 жыл бұрын
Dunno if anyone else had this problem, but --user worked for me even though auth didn't.
@tibebetech4867
@tibebetech4867 Жыл бұрын
Thank you!
@willgordon5737
@willgordon5737 3 ай бұрын
waste of my time.
What is JWT? JSON Web Tokens Explained (Java Brains)
14:53
Java Brains
Рет қаралды 1 МЛН
Мясо вегана? 🧐 @Whatthefshow
01:01
История одного вокалиста
Рет қаралды 7 МЛН
Правильный подход к детям
00:18
Beatrise
Рет қаралды 11 МЛН
How Strong Is Tape?
00:24
Stokes Twins
Рет қаралды 96 МЛН
Auth Does NOT Have To Be Hard
17:13
Web Dev Simplified
Рет қаралды 102 М.
Web Authentication Methods Explained
10:01
Software Developer Diaries
Рет қаралды 28 М.
Top 12 Tips For API Security
9:47
ByteByteGo
Рет қаралды 130 М.
NGINX Explained - What is Nginx
14:32
TechWorld with Nana
Рет қаралды 281 М.
What is a REST API?
9:12
IBM Technology
Рет қаралды 1,6 МЛН
Everything You Ever Wanted to Know About Authentication
26:56
An Illustrated Guide to OAuth and OpenID Connect
16:36
OktaDev
Рет қаралды 623 М.
What is OAuth really all about - OAuth tutorial - Java Brains
10:56
Why is JWT popular?
5:14
ByteByteGo
Рет қаралды 343 М.
Мясо вегана? 🧐 @Whatthefshow
01:01
История одного вокалиста
Рет қаралды 7 МЛН