在Identityserver3中,有在AuthorizeInteractionResponseGenerator中创建的SignInMessage。但在IdentityServer4中,没有将SignInMessage传递给我的登录操作。
那么如何传递authorize调用中给出的ui_locales呢?
发布于 2017-09-06 16:36:51
我想通了。我需要将IIdentityServerInteractionService注入我的控制器中。然后,在我的Login操作中,我可以获得授权上下文,如下所示
var context = await _interaction.GetAuthorizationContextAsync(returnUrl);此context包含UILocales。
https://stackoverflow.com/questions/45818102
复制相似问题