Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Select Components - Enable credentials on URL Option #81

Closed
mrbarletta opened this issue Nov 26, 2016 · 6 comments
Closed

Select Components - Enable credentials on URL Option #81

mrbarletta opened this issue Nov 26, 2016 · 6 comments

Comments

@mrbarletta
Copy link

Awesome jobs folks, I think it has a lot of potential as an enterprise tool.

The select component values can be retrieved from a URL, but credentials are not sent during the request and if the values are behind some authentication it fails.

Is it possible to enable a "Credentials" checkmark at the form/component level to enable the 'credentials' flag on the request?

Further in the future maybe an Authentication option to specify more properties.

Thanks!

@randallknutson
Copy link
Contributor

It is possible to pass credentials in the url querystring but currently not in the header. What type of Credentials do you need?

@mrbarletta
Copy link
Author

@randallknutson Thanks for keeping track of this issue.

In that specific scenario I needed to send cookies with the fetch, the browser already has authentication details in the cookies so I wanted to send them.
But also enabling JWT kind of Authorization headers will be great.

What do you think?

@rankin
Copy link

rankin commented Aug 3, 2017

I'm having the same issue. The form works fine in form.io but when I load it with react-formio the headers are stripped. I'm working on a fix and will make a PR.

@rankin
Copy link

rankin commented Aug 3, 2017

Created a PR for this: #103

@aminmc
Copy link
Contributor

aminmc commented Mar 30, 2018

Any updates on this? It's been open since 2017. We have the same requirement and I'm surprised this hasn't been incorporated.

@randallknutson
Copy link
Contributor

This should be done now. The PR was pulled into the 1.x branch and 2.x and later support custom headers and passing formio.js auth token.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants