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 badges1 Answer
Reset to default 0The 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).