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

How to Authenticate #2

Closed
adelavega opened this issue Aug 20, 2020 · 2 comments
Closed

How to Authenticate #2

adelavega opened this issue Aug 20, 2020 · 2 comments
Labels
question Further information is requested

Comments

@adelavega
Copy link
Member

Use only SSO from various providers Flask-Dance

To communicate between services we have a few options:

  • If everything is public, but unlisted, can just access without auth
  • Cache credentials and use that to access protected routes
  • Have a common secret and secret routes for between service authentication (preferred for now)

For now, let's commit to not having a neurostuff OAuth

@adelavega
Copy link
Member Author

tal:

the PUT routes should require users to authenticate, and should record the user (i think i may have already added fields for user to the tables, but auth isn’t hooked up)

  • let's figure out oauth2, tal thinks he's gotten github to work, but need to look and confirm

@adelavega adelavega added the question Further information is requested label Jun 22, 2021
@adelavega
Copy link
Member Author

This is stale, closing

jdkent added a commit that referenced this issue Sep 20, 2022
jdkent added a commit that referenced this issue Sep 20, 2022
jdkent added a commit that referenced this issue Oct 4, 2022
* tmp: matrix build

* test different build process

* change directories

* copy env file

* copy env file to different directory

* rename targets

* add workdir

* remove leading directories

* copy env file to correct folder

* explicit no build for docker-compose

* explictly state image name

* attempt github registry cache

* attempt github registry cache #2

* attempt github registry cache #3

* attempt github registry cache #4

* test reuse

* attempt to validate cache

* change nginx image names

* rename nginx and neurosynth

* keep service names in line

* fix name

* add inline cache argument

* remove inline cache argument

* set mode=max

* set set cache stage

* try #2

* empty cache

* test

* use different scopes

* parallelize frontend tests

* try to ingest data for cypress

* remove superfluous cp statement

* add more options to manage file

* fix cache name

* change default directories

* add 0T

* try to add working directory

* fix copy

* fix cache
jdkent added a commit that referenced this issue May 18, 2023
jdkent added a commit that referenced this issue May 18, 2023
* try to remove multiple app contexts

* attempt #2 to fix

* update/fix task

* use actual celery app for task
jdkent added a commit that referenced this issue Nov 21, 2023
jdkent added a commit that referenced this issue Nov 21, 2023
* preload more attributes

* wip: speed up PUT

* add sqltap profiling agsi

* do not update has_coordinates or has_images if irrelevant attribute updated

* make openapi more permissive and style

* remove unused import

* be more selective when updating has_coordinates and has_images

* refactor how records are looked up

* preload analyses

* handle loading of annotations

* preload the correct attributes for annotations

* catch more custom annotation loading

* fix annotation loading attempt #1

* attempt #2

* attempt #3

* reassign q

* remove extraneous command, and load studyset

* style fixed

* comment out unused bits
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant