when i preview my page url is
https://cloudzigzag-dev-ed--lightning-zag.ap7.visual.force.com/apex/BoxIntegration
in controller i have set
private string redirect_uri = 'https://zag.ap7.visual.force.com/apex/BoxIntegration';
when i am trying to authenticate it shows below error
Error: redirect_uri_mismatch Show Error Details
response_type=code
redirect_uri=https://zag.ap7.visual.force.com/apex/BoxIntegration
state=security_token=XXXXXXXXXXXXXXXXXXXXXXXXXXXXX
client_id=YYYYYYYYYYYYYYYYYYYYYYYYYYYYYY