[英]How to Authenticate/Authorize HotChocolate Graph API with FusionAuth API Key
I am currently creating a Graph API in .net core with HotChocolate framework.我目前正在使用 HotChocolate 框架在 .net 核心中创建图形 API。 I was able to implement custom JWT Bearer auth.我能够实现自定义 JWT Bearer 身份验证。 However, our project requires FusionAuth to be used as auth provider and I am having trouble integrating it with the project.但是,我们的项目需要将 FusionAuth 用作身份验证提供程序,我无法将其与项目集成。 Since, the project is a partner api, API key authentication is what we are looking to go with.因为,该项目是 api 的合作伙伴,API 密钥认证是我们正在寻找的 go 的合作伙伴。 Can anyone please provide an insight on how I can implement it?谁能提供有关我如何实施它的见解? I am kind of new to these stuffs.我对这些东西有点陌生。 Any help will be much appreciated.任何帮助都感激不尽。
I used, HotChocolate.AspNetCore.Authorization
package for JWT auth.我使用HotChocolate.AspNetCore.Authorization
package 用于 JWT 身份验证。 Thanks in advance.提前致谢。
Wait for the next releases and this will be changed = a lot of extended functionality.等待下一个版本,这将改变 = 很多扩展功能。 Current auth has some limitations.. Graphql itself do not provide auth stuff.当前的身份验证有一些限制.. Graphql 本身不提供身份验证内容。 But there will be new extension in HC for this... Just wait..但是HC中会有新的扩展名……等等……
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.