Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed issue where redirect uri query strings weren't included in redi…
…rect query string param.
- Loading branch information
bafc149
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@mythz It's not good solution to concatenate here "
" and req.RawUrl. Because, if we host application in IIS's application, for example "/App", then RawUrl might be "/App/Service" - and as result AppHost's resolver will take as argument "/App/Service", which will be resolved as "/App/App/Service". And that is obviously not good.bafc149
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ajukraine you can provide your own custom url resolution strategy by overriding IAppHost.ResolveAbsoluteUrl in your AppHost.
bafc149
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@mythz Yes, I know. This is what I've exactly done. But anyway, just a note that this place might cause problems.
Btw, here is my custom resolver:
bafc149
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok nice, as it's opt-in I think we should also back this convention into the default impl, thx.