ral-facilities / scigateway

SciGateway is the parent application for several plugins providing access to data and compute tools for large Science Facilities
Apache License 2.0
6 stars 4 forks source link

Add ability to have total non-authentication & non-authenticated plugin routes #1313

Closed louise-davies closed 10 months ago

louise-davies commented 11 months ago

Description: IMS has no authentication requirement - so need to add the ability to specify null as the authenticator and this disables all login related functionality, i.e. the login button & protection of plugin routes.

Additionally, we've been asked by Samuel Stock to add the ability for certain plugin routes to be unauthenticated. This should be done via the plugin routes - have an unauthenticated: true boolean to watch for and don't protect those routes. We may also then be able to remove the homepage specific handling for non-authentication and instead add the boolean to the DG routes config.

Acceptance criteria: