Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
Signed-off-by: Marc 'risson' Schmitt <[email protected]>
  • Loading branch information
rissson committed Oct 14, 2024
1 parent 56cf07a commit d156d09
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion lifecycle/ak
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ function run_authentik {
if [[ -x "$(command -v authentik)" ]]; then
exec authentik $@
else
exec cargo run --bin authentik-server $@
exec cargo run --bin authentik $@
fi
}

Expand Down
2 changes: 1 addition & 1 deletion src/providers/mod.rs
Original file line number Diff line number Diff line change
@@ -1 +1 @@
mod oauth2;
pub mod oauth2;
8 changes: 4 additions & 4 deletions src/providers/oauth2/models.rs
Original file line number Diff line number Diff line change
Expand Up @@ -49,12 +49,12 @@ pub mod access_token {
pub id: i32,
pub provider_id: i32,
pub revoked: bool,
#[sea_orm(column_type = "Text")]
#[sea_orm(column_name = "_scope", column_type = "Text")]
pub _scope: String,

#[sea_orm(column_type = "Text")]
pub token: String,
#[sea_orm(column_type = "Text")]
#[sea_orm(column_name = "_id_token", column_type = "Text")]
pub _id_token: String,
}

Expand Down Expand Up @@ -104,12 +104,12 @@ pub mod refresh_token {
pub id: i32,
pub provider_id: i32,
pub revoked: bool,
#[sea_orm(column_type = "Text")]
#[sea_orm(column_name = "_scope", column_type = "Text")]
pub _scope: String,

#[sea_orm(column_type = "Text")]
pub token: String,
#[sea_orm(column_type = "Text")]
#[sea_orm(column_name = "_id_token", column_type = "Text")]
pub _id_token: String,
}

Expand Down

0 comments on commit d156d09

Please sign in to comment.