M
M
moskrc2018-11-28 12:04:23
JavaScript
moskrc, 2018-11-28 12:04:23

Interaction of Landing Page on JS with the private part of the API on OAuth2 without user intervention, how to implement?

Good afternoon!
There is an API on DjangoRestFramework + oauth-toolkit and a single page application on JS which is hosted on Amazon S3.
It is necessary to access the server API from this JS application, but this should not concern the current user.
How to make such requests? You won't be able to use Authenticated Code, client_id/client_secret either - you can see it in HTML/JS files.
Maybe I'm confused, tell me where to look please
Thank you

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question