cyga / www_fdw

fdw extension for postgres
http://wiki.postgresql.org/wiki/WWW_FDW
123 stars 21 forks source link

Does this support Simple Authentication? #23

Closed gibman62 closed 8 years ago

gibman62 commented 8 years ago

Great utility BTW. Trying to authenticate against an https web server to dish out some xml - can you advise if/how it can be done? I have tried the conventional curl stuff, but with no success.

cyga commented 8 years ago

Thanks.

Authentication can be a complex process. I think best option is to have server in the middle, which will process auth and serve as a proxy.

From the other point, if there are some options (like api key for example), you can add it with www_fdw callbacks.

gibman62 commented 8 years ago

Many thanks Alex, hadn't thought of a proxy - good idea!

On 06/02/16 08:15, Alex Sudakov wrote:

Thanks.

Authentication can be a complex process. I think best option is to have server in the middle, which will process auth and serve as a proxy.

From the other point, if there are some options (like api key for example), you can add it with www_fdw callbacks.

— Reply to this email directly or view it on GitHub https://github.com/cyga/www_fdw/issues/23#issuecomment-180712477.