Skip to content

Figure out how to stop client_secret from leaking in metadata.json #1

@simonw

Description

@simonw

I may need to introduce a new concept to Datasette for this - maybe a way of telling it to pick up certain plugin settings from environment variables.

{
    "title": "datasette-auth-github demo",
    "plugins": {
        "datasette-auth-github": {
            "client_id": "986f5d837b45e32ee6dd",
            "client_secret": {"$env": "GITHUB_CLIENT_SECRET"}
        }
    }
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions