Comments (3)
where do I put my key API? and where do I put my token?
from sentinelplayground.
Hey,
Similar question popped up a few days ago on our forum. So, most of the answer is from there, but I will add the info about the token location.
Sentinel Playground code here hasn’t been updated in quite some time, so there are some things that don't work out of the box.
The token client id would go into the /public/tokenAssisted.html and the token would be generated with the code there, but at the moment, this user authentication mechanism is not available for general public use.
One option to fix it yourself is that you remove all AuthWindow
and recaptchaAuthToken
authentication and replace it with a call to requestAuthToken()
from sentinelhub-js
(parameters are clientId
and clientSecret
which you can get from the SH Dashboard), followed by a call to setAuthToken
.
Alternatively, you can use sentinelhub-js and react-leaflet (for example) to build a similar application from ground up, which also shouldn't be difficult to do.
If you have some more questions, the best place to ask is the forum (we generally answer faster there).
Best, Ziga
from sentinelplayground.
I will close this issue for now in favour of forum questions.
from sentinelplayground.
Related Issues (4)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sentinelplayground.