genenetwork / genenetwork2

GeneNetwork (2nd generation)
http://gn2.genenetwork.org/
GNU Affero General Public License v3.0
34 stars 24 forks source link

Gn auth setup cleanup #852

Open jnduli opened 1 month ago

jnduli commented 1 month ago

Description

  1. Add missing configuration to default_settings.py file that allows local testing with gn-auth
  2. Change default port for gn-auth in default_settings.py to the port mentioned in gn-auth's documentation.
  3. Improving getting error messages where we use all strings that start with a error. This was caused by gn-auth sending in an error with error as the key which was not interpreted correctly

Testing

Before screenshot when attempting to login locally:

image

After the error message fix: image