You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since hosting pode on IIS force all endpoints to http://127.0.0.1 internally, Pode supplies the clients a defualt redirect_uri relative to loaclhost, while it should be transparent to him and they need a url relative to the hosaname and the port of the binding and not port 80.
Expected Behavior
Client should get redirect_uri relative to the hostaname in the IIS binding
for example, if hostname = pode.com with port 443
then redirect_uri = https://pode.com/oauth2/callback (while the internal route should be http://localhost/oauth2/callback, but our clients should be directed to the public address)
Versions:
Pode 2.0
IIS
The text was updated successfully, but these errors were encountered:
The above commit should resolve the issue when hosting via IIS. I tested with my own test site, and redirection worked as expected. Are you able to test the new logic yourself?
Describe the Bug
Since hosting pode on IIS force all endpoints to http://127.0.0.1 internally, Pode supplies the clients a defualt redirect_uri relative to loaclhost, while it should be transparent to him and they need a url relative to the hosaname and the port of the binding and not port 80.
Expected Behavior
Client should get redirect_uri relative to the hostaname in the IIS binding
for example, if hostname = pode.com with port 443
then redirect_uri = https://pode.com/oauth2/callback (while the internal route should be http://localhost/oauth2/callback, but our clients should be directed to the public address)
The text was updated successfully, but these errors were encountered: