Skip to content
This repository was archived by the owner on Nov 5, 2022. It is now read-only.
This repository was archived by the owner on Nov 5, 2022. It is now read-only.

New authentication option when connecting to Climsoft databases #53

@isedwards

Description

@isedwards

When both SURFACE_API_ENABLED and AUTH_ENABLED environment variables are set to True (e.g. here), opencdms-api uses Django's password hashing algorithm to authenticate API users against SURFACE's auth_user database table.

Climsoft CDMS does not maintain it's own user credentials, but instead uses MariaDB's mysql.user (i.e the user table in the database system's mysql database).

When connecting to Climsoft databases and AUTH_ENABLED is True, can opencdms-api authenticate against mysql.user using MariaDBs password hashing algorithm (possibly by directly calling the database's PASSWORD() function?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions