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

Options in session context provider api call #186

Open
Vasanth2896 opened this issue Jun 21, 2021 · 0 comments
Open

Options in session context provider api call #186

Vasanth2896 opened this issue Jun 21, 2021 · 0 comments

Comments

@Vasanth2896
Copy link

Feature request

I request to have an ability to add api options to the session context provider

Is your feature request related to a problem? Please describe.

Session Provider with only url cannot allow me to pass sensitive data like token over a url

Describe the solution you'd like

Add options as a prop in the session context provider code base and use it in the fetch call.
send token via headers in the options sections of the fetch api.

Describe alternatives you've considered

No other alternatives

Additional context

Add any other context or screenshots about the feature request here.

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

1 participant