Hey wonderful human beings! Don't forget to like this video if you found it helpful 😎 Thanks!
@Bigbacon Жыл бұрын
thank you for this video! Okta's example on line is .Net 3.1 and different than 6+
@philipquarles46797 ай бұрын
Very well explained and easy to follow. Thank you.
@jd_27 Жыл бұрын
Thank you very much. Really enjoyed this tutorial
@ahmadalmasri441610 ай бұрын
impressive tutorial, thank you Julian
@GuildOfCalamity2 жыл бұрын
Yay, new video!
@CodeWithJulian2 жыл бұрын
Yes! Hope it's been helpful!
@bobo17932 жыл бұрын
Hello Julian, great tutorial session! I had a few quick questions if you don't mind: 1. How do you handle session duration/lifetime? An issue I've found is that the token might expire but the middleware doesn't do anything about it, as the session is not tied to the token in any way. UseTokenLifetime seems to do nothing for it. 2. Do you think it might have anything to do with the order of the function calls between .AddOpenIdConnect and .AddCookie? 3. Do you find Controller usage imperative? I've been trying to think of a more MVVM solution but can't find any where you can have a common controller for the logout common button in the header. Thanks a lot!
@srinivasanhariharan6489Ай бұрын
Can you provide the same example with .net8. If you feel, there is no change, then please say, no change. we will use this step to implement.
@kjhunkler2 жыл бұрын
Thanks Julian! Great tutorial. I fixed the "Unknown Location" error I was getting on Okta redirect by adding 2 more lines in the oidOptions: oidOptions.CorrelationCookie.SameSite = SameSiteMode.Unspecified; oidOptions.NonceCookie.SameSite = SameSiteMode.Unspecified; Hope this helps anyone with the same error.
@CodeWithJulian2 жыл бұрын
Thanks! Nice spot!
@eduardrivas69647 ай бұрын
Curious, I haven't ever used a service that implemented Okta. Why are you suggesting it? I mean, is not popular, do you have any tutorial for Google OAuth?
@mohammadNadeem-i6g10 ай бұрын
Hey Julian, How we can do the single sign on (SSO) using okta in dotnet core , Thank you
@dotnetdevni2 жыл бұрын
Does okta honour authoriseview etc and all and does it provide an in app ui for managing user profiles? So they can reset passwords and such
@jayakumar292710 ай бұрын
Good one useful. Saml also as well
@DanielTames2 жыл бұрын
thanks for the content man!
@CodeWithJulian2 жыл бұрын
Always a pleasure!
@PelFox2 жыл бұрын
Hi, I'm using an IdentityServer setup for SSO and followed these steps on how to configure the Blazor side. It works but I have some issues with the log out. I get logged out but redirected back to start page which logs me back in automatically. I have authorize requirement for all my pages. If I clear the cookies manually and refresh I get redirected and have to log in using my email/password. But the log out clears the cookie and then adds them directly without me having to enter my credentials, which seems odd. Any info is helpful :)
@nezqwe481811 ай бұрын
hi, my @attribute [Authorize] isnt working correctly on a page. if I go do that page, it just directly redirect me to login via okta. I want it to show the stuff on tag we put in app. How do i do this?
@FragrantVagrant692 жыл бұрын
Thanks for this. Any chance of covering refresh tokens with Okta in dotnet 6?
@CodeWithJulian2 жыл бұрын
Hi yeah refresh tokens will be covered in the next video.
@FragrantVagrant692 жыл бұрын
@@CodeWithJulian Amazing, thank you! Trying to get refresh tokens working in Blazor Webassembly but have been struggling.
@edafeclintiduh37542 жыл бұрын
Hello Julian, Great tutorial sessions you have here. Can you create a tutorial similar to this but for Blazor WASM using OKTA in .NET 6? I have implemented several approaches towards this goal but it doesn't work for me. The server side solution works, but it doesn't CDN services, which is why the WASM is important for me.
@CodeWithJulian2 жыл бұрын
Hi thanks for feedback! I'll add your suggestion to the backlog, thank you! In the meantime, have you tried their website/yt channel ? They have exactly what you're asking. If you google 'okta blazor wasm', their post should be the first.
@edafeclintiduh37542 жыл бұрын
@@CodeWithJulian Hi, Yes you are correct I tried out the solution provided by Heather Downing, but it didn’t work for me. I got redirected to the OKTA login window but my authentication wasn’t successful and I was not able to see the CLAIMS page with all the details for a successful authorization. I got this error message “There was an error trying to log you in” I will wait for your solution once you are able to deliver it and thanks for the shared resource.
@priyajeth6 ай бұрын
The access token is null. How do I fix this?
@comroec2 жыл бұрын
tnx bro
@CodeWithJulian2 жыл бұрын
You're welcome!
@majormartintibor Жыл бұрын
I triple checked everything, yet I get a 400 Bad Request from Okta when clicking on login. "Your request resulted in an error. The 'redirect_uri' parameter must be a Login redirect URI in the client app settings:" "Identity Provider: Unknown, Error Code: invalid_request"
@majormartintibor Жыл бұрын
Nevermind, the issue was, that in Okta I had http instead of https. Works now.
@johncarruyo87162 жыл бұрын
I'm getting the following error after following the tutorial InvalidOperationException: Provide Authority, MetadataAddress, Configuration, or ConfigurationManager to OpenIdConnectOptions Microsoft.AspNetCore.Authentication.OpenIdConnect.OpenIdConnectOptions.Validate()