Add access token authentication via HTTP AUTHORIZATION bearer header

This commit is contained in:
David Heinemeier Hansson
2025-12-01 16:24:18 +01:00
committed by Stanko K.R.
parent ea697b7143
commit a81c681a8d
9 changed files with 111 additions and 5 deletions
@@ -0,0 +1,14 @@
class CreateIdentityAccessTokens < ActiveRecord::Migration[8.2]
def change
create_table :identity_access_tokens, id: :uuid do |t|
t.uuid :identity_id, null: false
t.string :token
t.string :permission
t.text :description
t.timestamps
t.index ["identity_id"], name: "index_access_token_on_identity_id"
end
end
end