Skip to content

Authorising single user to push commits using access token #270

@r00tdaemon

Description

@r00tdaemon

I'm not sure if this is already possible or not.
The current entries endpoint might be susceptible to abuse as anyone can make the request to https://api.staticman.net/v2/entry/{GITHUB USERNAME}/{GITHUB REPOSITORY}/{BRANCH}/

Is there a way to authorise the request, maybe with an access token? So that only the requests with valid tokens make a PR?

Something like, https://api.staticman.net/v2/entry/{GITHUB USERNAME}/{GITHUB REPOSITORY}/{BRANCH}/ with token=xxyyzz as POST data

This way we can safely get rid of the moderation as well

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature requestneeds docsSignifies that the issue requests a documentation update.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions