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

Update auth process #319

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

appukuttan-shailesh
Copy link
Collaborator

Update auth to get token with longer expiry (7 days)

Note:
Curation dashboard app still to be tested.
When testing locally gives:

Access to XMLHttpRequest at 'https://iam.ebrains.eu/auth/realms/hbp/protocol/openid-connect/token' from origin 'http://localhost:3000' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.

It uses the same EBRAINS 'client' (model-catalog) as the VF app, and that works fine.

@appukuttan-shailesh
Copy link
Collaborator Author

To be merged after CodeJam #12 (after Nov 26).

@appukuttan-shailesh
Copy link
Collaborator Author

appukuttan-shailesh commented Aug 12, 2022

incorporated in #335

Updated: errors in combining with #335
will need to investigate later.... so still pending

apdavison added a commit to apdavison/model-catalog that referenced this pull request Jan 10, 2023
* staging: (21 commits)
  temporarily remove the option to use MC without authentication, until we get sessions working properly
  use null in place of empty string for missing parameters
  only show "add model/test" button when authenticated
  fix bug when adding new model or test from table
  fix bug introduced in 53357c3
  Fix download links for data in CSCS containers
  move filtering of editable projects to the server
  Set back-end server for staging at Docker build time
  Remove warnings from more recent versions of dependencies
  avoid reloading page when clicking on featured models; allow login when try to access model detail page directly
  update names of featured models
  Add support for using Model Catalog when not logged in
  Update keycloak config, based on HumanBrainProject/hbp-validation-framework#319 by @appukuttan-shailesh
  update EBRAINS logo for link-outs
  Add ModelDB linkouts
  fix a not-so-obvious issue with using autocomplete
  fix dumb mistake in autocomplete
  Add search/autocomplete to single-select drop-down lists
  only show project ID (collab name) for private models, it is not relevant for public ones
  debug ci build failure
  ...
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

Successfully merging this pull request may close these issues.

1 participant