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
Idea is, when querying payment pointer through browser (meaning when Accept header is text/html), we should redirect user to a webpage with a 301 status code. This redirect URL should be defined in the environment variables (exactly like it is for idp).
This needs interledger/open-payments#550 to be merged, then updated here on the todo comment to use the newest openapi spec for response validation middleware
When querying payment pointer, we are always returning JSON data about that payment pointer.
For example, when entering
ilp.dev/007
in URL we get following response:Idea is, when querying payment pointer through browser (meaning when Accept header is text/html), we should redirect user to a webpage with a 301 status code. This redirect URL should be defined in the environment variables (exactly like it is for idp).
Example wallet address: https://fynbos.me/radu
Example of the page after navigating to wallet address in browser: https://interledger.app/me/fynbos.me/radu
It should be implemented here:
rafiki/packages/backend/src/open_payments/wallet_address/routes.ts
Line 32 in a501fce
in
getWalletAddress
we need to check ifContent-Type
istext/html
. If it is, then we need to do redirect to the webpage defined in env.The text was updated successfully, but these errors were encountered: