![]() Upon clicking submit on my form, the action evaluates to oauth/leg2, and this path gets appending to the host ( ) When I access /connect/v1/oauth/leg1, it correctly validates my request and renders the form. So my KrakenD gateway settings are like so,Īpi.dev.tech/connect/v1/oauth/leg1 gets forwarded to /oauth/leg1 /connect/v1/oauth/leg2 gets forwarded to /oauth/leg2 My Problem ![]() ![]() So the host name is, but additionally, I want my Flask API to be accessed only through the connect/v1 path of my gateway. Clicking submit on my form sends the form data to the oauth/leg2 route and everything proceeds as desired. The url_for call in the form action correctly renders the route path of oauth/leg2Īll this works fine. When the /oauth/leg1 route validates it's inputs, it calls render_form() to render a form with the form-action rerouting to the /oauth/leg2 route.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |