shreemaan-abhishek opened a new pull request, #13879:
URL: https://github.com/apache/apisix/pull/13879

   ### Description
   
   Documents a recommendation for the `openid-connect` plugin: set 
`redirect_uri` to an absolute URL (with scheme and host).
   
   When `redirect_uri` is unset or a relative path, the plugin assembles the 
host from request headers (`Host` / `Forwarded`). Setting an absolute 
`redirect_uri` makes the value fixed and bypasses header-based host assembly 
entirely, so a forged header cannot influence the redirect URI sent to the 
identity provider.
   
   Updated in two places in `docs/en/latest/plugins/openid-connect.md`:
   - the `redirect_uri` attribute description
   - the "Misconfigured Redirection URI" troubleshooting section
   
   #### Which issue(s) this PR fixes:
   Fixes #
   
   ### Checklist
   
   - [x] I have explained the need for this PR and the problem it solves
   - [x] I have explained the changes or the new features added to this PR
   - [ ] I have added tests corresponding to this change
   - [x] I have updated the documentation to reflect this change
   - [x] I have verified that this change is backward compatible (If not, 
please discuss on the [APISIX mailing 
list](https://github.com/apache/apisix/tree/master#community) first)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to