IdentityServer 4作为Azure App Service的身份提供程序 [英] IdentityServer 4 as Identity Provider for Azure App Service

查看:110
本文介绍了IdentityServer 4作为Azure App Service的身份提供程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

根据此链接,除了现成的提供程序,例如Active Directory,Google,Facebook,我可以使用其他身份提供程序.我有一个IdentityServer4作为azure的Web应用程序托管,并想将其添加为自定义的身份提供程序.但是,在Azure门户中转到我的移动应用程序服务的授权/身份验证"刀片时,自定义身份提供程序没有任何选择.

According to this link, I can use another identity provider other than the out of the box providers like Active Directory, Google, Facebook. I have an IdentityServer4 hosted as a web app in azure and would like to add that as a custom Identity provider. But when going to the Authorization/Authentication blade of my mobile app service in azure portal, there is no option for a custom identity provider.

我在网络上找不到可以添加自定义身份提供程序的教程.请注意,我正在研究如何添加自定义身份提供程序,而不是使用Azure中记录的自定义身份验证逻辑.我将不胜感激.谢谢.

I can't find a tutorial in the web that allows you to add a custom Identity Provider. Note that I am looking on how to add a custom identity provider, not using a custom authentication logic which is documented in Azure. I will appreciate any help. Thank you.

推荐答案

我偶然发现了同一问题,目前尚无支持,但您可以通过以下uri投票支持此实现:

I just stumbled on the same issue, at the moment there is no support but you can vote for this implementation via this uri: Enable custom 3rd party authentication providers

目前,我正忙于POC,因此我需要此功能,而我偶然发现了这篇文章:

Currently I'm busy with a POC so I needed this functionality and I stumbled upon this post: Secure Azure Functions with JWT access tokens This works perfect with my custom token provider. Hopefully it does too for you.

这篇关于IdentityServer 4作为Azure App Service的身份提供程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆