Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Injecting user registration steps into IdentityServer3 SSO process

I'm looking to employ Thinktecture's IdentityServer3 solution as a SSO service across multiple web application the organisation makes available to external users.

Taking the MVC Authentication sample as a starting point I'm looking at bolting on a registration process for new users to capture extra details when they first come to use the systems. This process is common across all the services we provide so I wish to bundle it alongside our SSO service.

Is there an elegant way to inject extra business logic into the IdentityServer3 core service? Basically if they're a new user I need to redirect them to some registration pages before flicking them back authenticated to the web application that they originally wanted to authenticate against.

like image 530
Gavin Avatar asked Apr 06 '15 21:04

Gavin


1 Answers

Both docs

https://identityserver.github.io/Documentation/docsv2/advanced/userService.html

and samples

https://github.com/IdentityServer/IdentityServer3.Samples/tree/master/source/CustomUserService

cover this.

like image 173
leastprivilege Avatar answered Sep 20 '22 13:09

leastprivilege