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

Use a back-end to access openapi base url #18

Open
randycylonix opened this issue Apr 2, 2023 · 0 comments
Open

Use a back-end to access openapi base url #18

randycylonix opened this issue Apr 2, 2023 · 0 comments

Comments

@randycylonix
Copy link

It is probably not a good idea to embed the openapi API key directly in the client app.
A securer way is to allow config to include a proxy/back-end URL where the API key will be inserted and send to openapi.

1. App sends request to the back-end server. 
2. Back-end server forwards the request to openapi with the api key stored only in the back-end and wait for the response inline.
3. Back-end server receives the response from openapi.
4. Back-end server sends the response back to the client app.
5. App receives the response from the back-end server finishing the request. 
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