Authentication and Authorization Setup with Okta

  Рет қаралды 44,466

CodeDunks

CodeDunks

Күн бұрын

We will look at how to use Okta, a third-party identity provider to set up our authentication and authorization flow.
We will be using react for the frontend single-page application. We will also set up a protected API in Node using Express and Typescript.
We will also look at how to create these applications using the Okta developer portal and how to configure our projects with the correct values so that we are able to have a complete authentication and authorization flow.
Starter project to follow along: github.com/leoroese/node-okta...
Complete project: github.com/leoroese/node-okta...
Timestamps:
0:00 Intro
1:00 Create Okta Account and apps
4:00 SPA config
24:00 Web Server config

Пікірлер: 29
@juanpazmino8645
@juanpazmino8645 2 жыл бұрын
This is amazing!! The best video ever!! You saved my life bro!! Thank you!! :)
@himanshushekhar3694
@himanshushekhar3694 2 жыл бұрын
terrific video...Thanks so much
@uzochukwuamarabenneth2583
@uzochukwuamarabenneth2583 2 жыл бұрын
Awesome tutorial!!!
@CodeDunks
@CodeDunks 2 жыл бұрын
Thank you!
@palashagrawal4277
@palashagrawal4277 Жыл бұрын
Great Tutorial!! i just wanted to know where we are using client and secret in webserver? because we defined the same in env but i don't see if we are using it.
@RezaulKarim-bl8gr
@RezaulKarim-bl8gr 2 жыл бұрын
Thank you so much.
@CodeDunks
@CodeDunks 2 жыл бұрын
No worries!
@justdvl
@justdvl Жыл бұрын
Thanks
@arthurmorgan332
@arthurmorgan332 Жыл бұрын
👌👍
@alanthomasgramont
@alanthomasgramont Жыл бұрын
Where is the magical post you keep referring to? For some reason I'm not able to find it in your documentation.
@poornaathreya
@poornaathreya 2 жыл бұрын
Thank you! I was wondering how you can fix that redirect callback? When you logIn without already being authenticated (at 32:50), it redirects to your Okta dashboard instead of /profile. How do we fix that?
@georcecostanza
@georcecostanza 11 ай бұрын
You just neeed to provide a signin url to Okta. Idk why he configured his that way and then tried to play it off like it was normal lmao
@Chevindu
@Chevindu 2 жыл бұрын
Hey, thanks for the clear video. Small issue: I cannot seem to access your blog. Is the server down, or the domain expired? Thanks.
@CodeDunks
@CodeDunks 2 жыл бұрын
Im currently in the process of rebuilding it, forgot to take the link off haha. Thanks for letting me know!
@geraldomacias7243
@geraldomacias7243 2 жыл бұрын
Bummed so much has changed in react-router-dom v6 :(
@tammycollinse1417
@tammycollinse1417 11 ай бұрын
Hi all, not sure if I will have any luck with this but I am trying to add a flask api authorization (also using okta) with an existing react app that has spa authentication with okta. Is this possible? Any help would be greatly appreciated!
@abhishekshenoy7638
@abhishekshenoy7638 2 жыл бұрын
I need a help.. I am getting CORS error when I try to test the client part .. something like preflight not allowed for localhost:3000. Could u pls guide
@AdeshSinghchandel
@AdeshSinghchandel 5 ай бұрын
Can you help me i try to integrate okta openid auth with private public key how can i do that , when using in react getting error 401 in both react and node js can you guide me usign public key and private key with react and node js i am stuck and no correct documents found
@stevereid636
@stevereid636 2 жыл бұрын
Is the blog post you mentioned back online yet?🙏🏾
@CodeDunks
@CodeDunks 2 жыл бұрын
It should be back up soon! Almost done with the rebuilding of it! My apologies
@ABUTAHER-wg7gz
@ABUTAHER-wg7gz 2 жыл бұрын
hello dear, How can i use SecureRoute in reactrouter 6
@GetItYND-channel
@GetItYND-channel 2 жыл бұрын
Any example for okta+sso,+saml+go
@sahilroyal8939
@sahilroyal8939 2 жыл бұрын
Implicit grant flow should be used for single page allications instead of Authorization code grant flow.
@CodeDunks
@CodeDunks 2 жыл бұрын
Just curious where you got this information? Implicit grant flow is a little bit less secure I believe than the Auth code grant flow. Also due to plans for removing third party cookies from browsers auth code is preferred. Here is Microsoft's documentation last updated end of August. docs.microsoft.com/en-us/azure/active-directory/develop/v2-oauth2-implicit-grant-flow
@bricejoosten5173
@bricejoosten5173 2 жыл бұрын
@@CodeDunks Okta themselves teach about implicit flows for SPA and native mobile (native mobile having PKCE too)
@georcecostanza
@georcecostanza 11 ай бұрын
@@bricejoosten5173 - You are incorrect brother. Implicit grant is much less secure. Okta state it in their own docs.
@gabrielhenton7346
@gabrielhenton7346 2 жыл бұрын
Everything works for me EXCEPT the Call api button. I triple checked everything but no luck. Any advice?
@shannonm4238
@shannonm4238 2 жыл бұрын
I've followed this tutorial to a T and still cannot get the call api button to show anything but unauthorized/401 when I try to hit the protected route from my frontend.
@aakashrana5969
@aakashrana5969 Жыл бұрын
@@shannonm4238 any updates on that?
Next.js 11 setup with Material UI Version 5 | Part 1 - Emotion
25:15
An Illustrated Guide to OAuth and OpenID Connect
16:36
OktaDev
Рет қаралды 572 М.
Sigma Kid Hair #funny #sigma #comedy
00:33
CRAZY GREAPA
Рет қаралды 39 МЛН
Double Stacked Pizza @Lionfield @ChefRush
00:33
albert_cancook
Рет қаралды 112 МЛН
Они так быстро убрались!
01:00
Аришнев
Рет қаралды 1,6 МЛН
Llegó al techo 😱
00:37
Juan De Dios Pantoja
Рет қаралды 58 МЛН
Authentication with Angular and Okta
1:25:41
Henry Codes
Рет қаралды 17 М.
React SAML Authentication with OKTA and Typescript [2021]
23:41
The Nerdy Canuck
Рет қаралды 25 М.
Okta Identity Management - SSO, MFA, and Password Reset
31:39
Network Consulting Services, inc.
Рет қаралды 38 М.
Authentication and Authorization with Okta in .NET 6 Blazor Server
22:30
Code with Julian
Рет қаралды 13 М.
OAuth 2.0 and OpenID Connect (in plain English)
1:02:17
OktaDev
Рет қаралды 1,7 МЛН
Setup Okta Single Sign-On (SSO) with Salesforce
20:54
Salesforce Apex Hours
Рет қаралды 25 М.
Sigma Kid Hair #funny #sigma #comedy
00:33
CRAZY GREAPA
Рет қаралды 39 МЛН