JWT - Configuring a Authorization Server and setting the issuer as itself

我只是一个虾纸丫 提交于 2019-12-06 03:50:03
Ramin

You need to provide the clientId in the Authorization header and set its type to Basic, consider that i have also encoded the clientId

check my request

Well, I have tried assigning null to the issuer like

var issuer = null;
//var issuer = HttpContext.Current.Request.Url.Scheme + System.Uri.SchemeDelimiter + HttpContext.Current.Request.Url.Host + (HttpContext.Current.Request.Url.IsDefaultPort ? "" : ":" + HttpContext.Current.Request.Url.Port); // get the host name with the port`

and it worked.

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!