Comments (14)
@aamay001 you're coming across a stumbling block that we hadn't thought through. We obviously can't give you our production credentials, but you need them to log in. So, we are brainstorming some solutions to try to unblock you. Probably won't have anything ready this evening, but we are discussing and will reach back out tomorrow.
from earthdata-search.
@mreese84 Just confirming that the provided solution is working. I am now able to access the preferences route.
from earthdata-search.
Giving this a shot.
from earthdata-search.
@mreese84 I have my environment up and running. What I can't seem to find is where the User Preferences are. Can you point me in the right, direction?
I see the preferences route. It looks like I need to create an account.
from earthdata-search.
You will need an Earthdata Login account so that you can log in. Preferences are only available to logged in users. You may set one up here: https://urs.earthdata.nasa.gov/
From there, just ensure that your dev environment is using the "prod" environment specified in static.config.json and you should be good to go.
from earthdata-search.
I should clarify... Earthdata Login was formerly referred to as URS (User Registration System). So that's why the domain is urs.earthdata. EDL, Earthdata Login, and URS can all be used interchangeably.
from earthdata-search.
I should clarify... Earthdata Login was formerly referred to as URS (User Registration System). So that's why the domain is urs.earthdata. EDL, Earthdata Login, and URS can all be used interchangeably.
Thanks for the update, I'll try that out.
from earthdata-search.
@aamay001, A few thoughts as you start digging into this one.
We have thrown around the idea of using a Toast component (example) in order to display this notification, and in the future, similar ones. We are not tied down to any specific library, but the previous example looks like a good possibility.
Because we have Redux implemented, it would be preferred if the notification was triggered by a Redux action, and was implemented in a generic enough way that could be it could be used for other notifications around the application.
from earthdata-search.
@aamay001, A few thoughts as you start digging into this one.
We have thrown around the idea of using a Toast component (example) in order to display this, and in the future, similar notifications. We are not tied down to any specific library, but the previous example looks like a good possibility.
Because we have Redux implemented, it would be preferred if the notification was triggered by a Redux action, and was implemented in a generic enough way that could be it could be used for other notifications around the application.
@trevorlang I'm following where you're going with this. I've used toast before. I can create some actions to push some toast notifications.
from earthdata-search.
When I navigate to http://localhost:8080/preferences
, I see that the route is nested under the AuthRequiredContainer
which navigates to the local API http://localhost:3001/lab/login
.
The local API edlLogin
then redirects me to
https://urs.earthdata.nasa.gov/oauth/authorize?response_type=code&client_id=URS_CLIENT_ID&redirect_uri=http%3A%2F%2Flocalhost%3A3001%2Flab%2Furs_callback&state=http%3A%2F%2Flocalhost%3A8080%2Fpreferences
which looks like it supposed to redirect me back to the local API edlCallback
http://localhost:3001/lab/urs_callback
but I end up here
https://urs.earthdata.nasa.gov/profile
with the error message Invalid request, please verify the client status or redirect_uri before resubmitting.
I see in the authorize URL above that URS_CLIENT_ID is coming from secrets.config.js
. Do I need to fill these in with something in particular?
Additionally, I also see that in edCallback
, SQS is being used and based on the README.md
, I may hit a wall there once I get passed authorizing the user.
from earthdata-search.
No worries. I realized this would require some intervention. I’ll keep an eye out for your response.
from earthdata-search.
@aamay001 we've got a solution in place for you. I'm about to drop you an email to the email address on your Github profile ([email protected]).
from earthdata-search.
Awesome! Thanks, that works!
from earthdata-search.
Submitted #1245 for this issue.
from earthdata-search.
Related Issues (20)
- EDSC-2895: Direct download button not working for multi-file granules in list view HOT 10
- EDSC-2515: Improve loading state for collection results HOT 2
- EDSC-3064: Fix 508 compliance 'Empty button' findings
- EDSC-3066: Fix 508 compliance 'Broken AIRA reference' finding
- EDSC-3067: Fix 508 compliance 'Empty form label' findings
- EDSC-3068: Fix 508 compliance 'Empty heading' finding HOT 1
- EDSC-3069: Fix 508 compliance 'Missing form label' findings
- EDSC-3070: Fix 508 compliance 'Multiple form label' finding
- EDSC-3072: Fix 508 compliance 'repetitive navigation links' findings from SortSite
- EDSC-3073: Fix 508 compliance 'form control has no name' findings from SortSite
- EDSC-3074: Fix 508 compliance 'FIELDSET elements labeled with LEGEND elements' finding from SortSite
- EDSC-3075: Fix 508 compliance 'element must contain ALT attribute' finding from SortSite
- EDSC-3484: Fix /contact_info url HOT 3
- EDSC-3300: Change "Search for collections or topics" placeholder in keyword search HOT 6
- EDSC:3328: Rename 'Available from AWS Cloud' facet to 'Available in Earthdata Cloud' HOT 3
- EDSC-3314: Display a disabled Explore button, when Smart Handoffs are not valid with the current parameters HOT 1
- EDSC-3093: As a user, I'd like to sort collections by start date HOT 2
- EDSC-1603: Create a new portal for HiTIDE
- [INFRA]: Improve project structure
- Need a "Remove Filters" button in Filter Collections Sidebar HOT 5
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 earthdata-search.