-
Notifications
You must be signed in to change notification settings - Fork 323
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
Fix redirect paths and enable authentication and new dashboard by default #6605
Conversation
@@ -17,7 +17,7 @@ const CLOUD_REDIRECTS = { | |||
* when it is created. In the native app, the port is unpredictable, but this is not a problem | |||
* because the native app does not use port-based redirects, but deep links. */ | |||
development: newtype.asNewtype<auth.OAuthRedirect>('http://localhost:8081'), | |||
production: newtype.asNewtype<auth.OAuthRedirect>('https://cloud.enso.org'), | |||
production: newtype.asNewtype<auth.OAuthRedirect>('http://localhost:8080'), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
add here fixme (and create issue) that this is temporary and should be fixed to support both gui watch and cloud environment
@somebody1234 QA 🟢 please open for review and enable authentication and new dashboard by default here |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
cloud.enso.org
should work - we will be testing that with clients side by side the electron app. The electron app will be the basic distribution way, but the cloud version should work, so something that breaks cloud version cannot be merged.
google login seems to work but I do get this error in the console: |
@PabloBuchu would you happen to know what's happening here? |
can no longer repro the issue with google login |
github login seems to be broken for me - i think i remember this being fixed somewhere else, will try again after merging develop |
confirmed to be fixed after the merge with |
switched
|
QA 🟢
|
./run gui watch
@somebody1234 is anything else needed in this PR? @wdanilo can you check it and accept if everything is ok? (otherwise the PR can not be merged) |
implementation wise i think it's good to go - there is one issue found by QA but i think it's better to figure out the right way to solve that in an issue |
oh actually one thing - the redirect url for ... on second thought, this will be a little tricky because the server port isn't known until runtime... i guess the only way to make this work is to intercept redirects to ... actually i might as well just see what's going on in debug mode |
quick mini QA:
i'm skipping QA of everything else, because the main changes in the most recent merge are related to the |
* develop: Implement loading spinner for visualisations. (#6512) Fix blank input port (#6614) Add `Date_Range` (#6621) All Vector operations shall be applicable on java.util.ArrayList (#6642) Fix redirect paths and enable authentication and new dashboard by default (#6605) Fix #6287: wrong nested breadcrumb ordering (#6617) Whitelist AWS Cognito domains (#6643) Revert "Add COOP+COEP+CORP headers (#6597)" (#6647) Fix shortcuts table formatting (#6644) Automatic type based dropdown does not include singleton in a union type (#6629) Make Meta.get_annotation work for constructor (#6633)
Pull Request Description
Sets production redirect URL to
localhost:8080
. This would breakcloud.enso.org
, but I believe there are no plans to upload the new dashboard tocloud.enso.org
in the near future, so this should be acceptable for the time beingImportant Notes
None
Checklist
Please ensure that the following checklist has been satisfied before submitting the PR:
Scala,
Java,
and
Rust
style guides. In case you are using a language not listed above, follow the Rust style guide.
./run ide build
.