Skip to main content
Question

Error: insecure_redirect_uri

  • May 22, 2025
  • 3 replies
  • 17 views

Forum|alt.badge.img

I am trying to set up a Wordpress Plugin that display Box files.  I'm following the plug-in instructions and keep getting this error from Box: Error: insecure_redirect_uri response_type=code redirect_uri=http://cprn.org/wp-admin/admin.php?wpdf_box_settings...

 

The URI I specified has https://cprn.org... My site has a certificate (shared).  yet this error says that the URI is not secure.  Anyone have any insight?  Can't find a single reference to this error in the community...

 

Thanks,

 

Paul

3 replies

Forum|alt.badge.img

 The redirect URI you set in the developer console must be HTTPS 


Forum|alt.badge.img

Yes. The uri I supplied was https. It was
https://cprn.org/wp-admin/admin.php?page=wpdf_box_settings
But the error shows a non https uri???


Forum|alt.badge.img

 When you actually perform the redirect ensure that HTTPS is specified, along with ensure that the value set in the developer console is HTTPS. This definitely shouldn't error unless HTTP is not being specified at some point.