مراية لـ
https://github.com/postalserver/postal.git
تم المزامنة 2026-01-16 21:23:37 +00:00
feat: openid connect support (#2873)
هذا الالتزام موجود في:
10
db/migrate/20240311205229_add_oidc_fields_to_user.rb
Normal file
10
db/migrate/20240311205229_add_oidc_fields_to_user.rb
Normal file
@@ -0,0 +1,10 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
class AddOIDCFieldsToUser < ActiveRecord::Migration[7.0]
|
||||
|
||||
def change
|
||||
add_column :users, :oidc_uid, :string
|
||||
add_column :users, :oidc_issuer, :string
|
||||
end
|
||||
|
||||
end
|
||||
@@ -10,7 +10,7 @@
|
||||
#
|
||||
# It's strongly recommended that you check this file into your version control system.
|
||||
|
||||
ActiveRecord::Schema[7.0].define(version: 2024_02_23_141501) do
|
||||
ActiveRecord::Schema[7.0].define(version: 2024_03_11_205229) do
|
||||
create_table "additional_route_endpoints", id: :integer, charset: "utf8mb4", collation: "utf8mb4_general_ci", force: :cascade do |t|
|
||||
t.integer "route_id"
|
||||
t.string "endpoint_type"
|
||||
@@ -330,6 +330,8 @@ ActiveRecord::Schema[7.0].define(version: 2024_02_23_141501) do
|
||||
t.string "password_reset_token"
|
||||
t.datetime "password_reset_token_valid_until", precision: nil
|
||||
t.boolean "admin", default: false
|
||||
t.string "oidc_uid"
|
||||
t.string "oidc_issuer"
|
||||
t.index ["email_address"], name: "index_users_on_email_address", length: 8
|
||||
t.index ["uuid"], name: "index_users_on_uuid", length: 8
|
||||
end
|
||||
|
||||
المرجع في مشكلة جديدة
حظر مستخدم