Create Identity Server 4 in .net core to secure Public microservices

preview_player
Показать описание
Lost all views, all comments, all subscribers, in short codingFirday lost you and with no choice left had to create new Channel - please provide your support by subscribing to new channel CodingLocker, please find the link below.

Subscribe Coding Locker

codingFriday needs your support in retrieving all subscribers back at Coding Locker. See you all there at Coding Locker. Thanks

codingFriday needs your support in retrieving all subscribers back at Coding Locker. See you all there at Coding Locker. Thanks

Creation of Identity Server4 in .Net core to secure public microservices with a practical example is explained here.

In this video, we have created IdentityServer4, created sample public microservice, integrated that microservice with identity server and last this securing microservice using identity server is tested using postman.

Part 2
Create Identity Server 4 to implement Policy Based Authorization in .Net core to secure Microservice

A practical example of How to create Identity server in .net core for grant type to client credentials

GitHubLink
Рекомендации по теме
Комментарии
Автор

Bhai tum tension mat lo, we are with you. I like your short videos which give a holistic view of over all concept in depth.

grtuser
Автор

Nice explanation on indentity server and public microservice

alpeshchoubisa
Автор

Actually you are configured this identity server as separate project can we do it in single project with different dll?

SaiReddy-wc
Автор

Thanks for describing it simply. I want to know if it is possible to generate and validate a client without storing its info in database?
For example in my website's home page i want to ask my user to provide email address, and using that email address can i generate a client only for that user. Thousands user will generate thousand clients and I will not store them in db but still can validate them using the token provided by them. Is it feasible?

rpiisenh
Автор

Quick question, if each microservice has custom roles and claims, what is the best approach to accommodate for this in the identity service and share the roles with the microservice? Awesome to the point video. Loved it

mou
Автор

Nice and quick demo using identity server 4, can you pls update the identity server 4 using db with claims based auth

gleamofcolor
Автор

I have one problem need send the post not for body , seend to headers, help

EmmanuelGallegos-wxpq
Автор

Good article. but need line by line detailed expalanation

syednizamudeen
Автор

A great and really quick one, even the latest one. But only works that comes from your GitLab download.. So I tried and found that error in the latest release.

Its saying "type or namespace Scope can't be found for identity server. "

You are using IdentityServer4 version 3.1.2 but when i use 4.0.2, it starts throwing error for Scope. Not found.

mishrajit
Автор

can you provide us a video of private API, where identity server stores and validates user

sanjoysutar
Автор

No database provider has been configured for this DbContext, getting this error,

chessgamesonline
Автор

Hi, can you do similar authentication and authorisation using IdentityServer and Ocelot API gateway please? I have problem when using Ocelot. My expectation was that the logic that you have applied into your Weather project startup (or at least similar code) should be applied to Ocelot project and it should work but its not. I requires that that logic to be implemented in all Microservices that is not a good thing to do. Also can you please check all the projects and solution codes to Github rather than just the classes and renaming them? ;-)

rahmanmahmoodi
Автор

how do be generate the Key Material on identity server while hosting on IIS

aargomemnon
Автор

heloo changes we are made in startup.cs is for authorization or authentication

prasoonathudoddi
Автор

This works in postman but not in swagger.

manitariq
Автор

Thank you for making this video it's very useful to me for clearing the concept. Actully I trying this code using VsCode and getting error here

Scopes = {new Scope("apiscope")}

like

The type or namespace name 'Scope' could not be found (are you missing a using directive or an assembly reference?)

I have used both assembly

using IdentityServer4.Models;
using System.Collections.Generic;


but still getting this type of error . kindly pls guide me how this work using Vscode.

nilamrohit
Автор

How do I secure (Hide) ClientSecret in angular/vue/javascript? Anyone can steal it very easily. Is there any way to use Authorization Code flow for public APIs. Public APIs such as API to get list of products on an e-commerce website where user login is not required.

anilthakkar
Автор

I have User Microservice which have login functionality and return token.
and i want to secure my other microservice which are public, as i moved Authorization to Gateway.
Now i want my public Microserivce to be secure with identity server. and i also want my api to return data with User is authorize.

Solution in my mind is to add just policy in my User Service.
could you please give me best solution.

chbasitgill
Автор

Hi Sir, Thanks for the video. I have setup the identity server 4 with .net core 3.1
Every thing is working fine but the thing is i need configure Redis caching for server side. Can you help me out(Redis server is up and run in my local system )

vivekgowda
Автор

Need video on how to implement IdentityServer4 Mutual TLS
with custom validator.

vivekmoreindia