最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

banno digital toolkit - Redirect Uris mismatch error while authenticating a user - Stack Overflow

programmeradmin0浏览0评论

When trying to initialize the authentication flow through a plugin using the example node repo in my dev instance, I get the following error while using the OIDC example provided by Banno:

{"error":"redirect_uri_mismatch","error_description":"redirect_uri did not match any of the client's registered redirect_uris","state":"5q498rjqk1vk25vxzxqkv","request_id":"ee02384d055f2329f8f412a4fcf2b730"}

I'm also getting this same error in a client's beta instance using our code based off the OIDC example.

I've now tried the simple plugin example and that seems to work fine. So is it fair to say that PKCE approach is the only one that will work with a plugin?

When trying to initialize the authentication flow through a plugin using the example node repo in my dev instance, I get the following error while using the OIDC example provided by Banno:

{"error":"redirect_uri_mismatch","error_description":"redirect_uri did not match any of the client's registered redirect_uris","state":"5q498rjqk1vk25vxzxqkv","request_id":"ee02384d055f2329f8f412a4fcf2b730"}

I'm also getting this same error in a client's beta instance using our code based off the OIDC example.

I've now tried the simple plugin example and that seems to work fine. So is it fair to say that PKCE approach is the only one that will work with a plugin?

Share Improve this question asked Mar 12 at 23:14 Chris ReederChris Reeder 34 bronze badges
Add a comment  | 

1 Answer 1

Reset to default 0

The Simple Plugin Example and Consumer API OIDC Example both use PKCE.

However, the former has handling in it to function nicely as an educational example for plugins (hence the name), whereas the latter does not have functionality in it to be a proper plugin (and instead is useful more for diving deeper into using the Consumer API, similar to what the Data Aggregators do with the Consumer API).

发布评论

评论列表(0)

  1. 暂无评论