Skip to content

DB authz for client authentication & token records #1255

Closed

Description

@plotnick

PR #1194 adds support for the OAuth 2.0 Device Authorization Grant for client authentication (token granting). However, it does not include datastore-level authorization checks (e.g., authz::ClientAuthentication, etc.) because the current data model does not make that easy (e.g., non-primary-key lookup, etc.). That data model should also be adjusted so that client authentication records can be short-lived, which may (or may not) involve making user_code the primary key; there are various trade-offs involved in that decision that should be carefully weighed.

The datastore-level authorization currently implemented for console sessions and global images share some common concerns with this issue, and it might be worth refactoring those together with this.

Activity

  1. self-assigned this
    on Jun 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

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