Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Something apparently is working #342

Closed
helio-frota opened this issue May 29, 2024 · 2 comments
Closed

Something apparently is working #342

helio-frota opened this issue May 29, 2024 · 2 comments
Assignees
Labels
question Further information is requested

Comments

@helio-frota
Copy link
Collaborator

helio-frota commented May 29, 2024

➜ trustify git:(main) cargo run --bin trustd --features garage-door

when going to http://localhost:8080/ I'm already logged-in.

Maybe good to update the readme with the correct command ?

➜  trustify git:(main) cargo run --bin trustd --features garage-door
    Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.34s
     Running `target/debug/trustd`
RUST_LOG is unset, using default: 'info,actix_web_prom=error'
2024-05-29T17:00:35.360536Z  WARN trustd::db: Setting up managed DB; not suitable for production use!
2024-05-29T17:00:35.468418Z  INFO trustd::db: PostgreSQL installed in "/home/heliofrota/Desktop/tc/trustify/.trustify/postgres"
2024-05-29T17:00:35.468531Z  INFO trustd::db: Running on port 36433
2024-05-29T17:00:35.489204Z  INFO trustify_common::db: connect to postgres://postgres:trustify@localhost:36433/trustify
2024-05-29T17:00:35.578580Z  INFO migrate: sqlx::postgres::notice: relation "seaql_migrations" already exists, skipping self=Database { db: SqlxPostgresPoolConnection }
2024-05-29T17:00:35.578658Z  INFO migrate: sea_orm_migration::migrator: Applying all pending migrations self=Database { db: SqlxPostgresPoolConnection }
2024-05-29T17:00:35.578889Z  INFO migrate: sqlx::postgres::notice: relation "seaql_migrations" already exists, skipping self=Database { db: SqlxPostgresPoolConnection }
2024-05-29T17:00:35.579125Z  INFO migrate: sqlx::postgres::notice: relation "seaql_migrations" already exists, skipping self=Database { db: SqlxPostgresPoolConnection }
2024-05-29T17:00:35.579391Z  INFO migrate: sqlx::postgres::notice: relation "seaql_migrations" already exists, skipping self=Database { db: SqlxPostgresPoolConnection }
2024-05-29T17:00:35.580978Z  INFO migrate: sea_orm_migration::migrator: No pending migrations self=Database { db: SqlxPostgresPoolConnection }
2024-05-29T17:00:35.581348Z  INFO trustify_common::db: connect to postgres://postgres:trustify@localhost:36433/trustify
2024-05-29T17:00:35.663486Z  WARN trustify_server::embedded_oidc: Running embedded OIDC server. This is not secure and should only be used for demos!
2024-05-29T17:00:35.663630Z  INFO trustify_server::embedded_oidc: Running server loop
2024-05-29T17:00:35.663764Z  INFO garage_door::server: Listening on: http://[::1]:8090/realms
2024-05-29T17:00:35.663802Z  INFO garage_door::server::state: Issuers:
2024-05-29T17:00:35.663826Z  INFO garage_door::server::state:   trustify
2024-05-29T17:00:35.663854Z  INFO garage_door::server::state:   Clients:
2024-05-29T17:00:35.663883Z  INFO garage_door::server::state:     frontend = Public { id: "frontend", redirect_urls: [Exact { url: "http://localhost", ignore_localhost_port: true }], default_scope: "openid read:document create:document delete:document update:document" }
2024-05-29T17:00:35.663912Z  INFO garage_door::server::state:     walker = Confidential { id: "walker", secret: ***, default_scope: "openid read:document create:document delete:document update:document" }
2024-05-29T17:00:35.663930Z  INFO garage_door::server::state:     testing-user = Confidential { id: "testing-user", secret: ***, default_scope: "openid read:document create:document delete:document update:document" }
2024-05-29T17:00:35.663946Z  INFO garage_door::server::state:     testing-manager = Confidential { id: "testing-manager", secret: ***, default_scope: "openid read:document create:document delete:document update:document" }
2024-05-29T17:00:41.845331Z  INFO actix_server::builder: starting 12 workers
2024-05-29T17:00:41.845349Z  INFO trustify_server::embedded_oidc: Embedded OIDC server ready on: http://[::1]:8090/realms
2024-05-29T17:00:41.845393Z  INFO actix_server::server: Tokio runtime found; starting in existing Tokio runtime
2024-05-29T17:00:41.845417Z  INFO trustify_common::db: connect to postgres://postgres:trustify@localhost:36433/trustify
2024-05-29T17:00:41.927575Z  INFO trustify_infrastructure::infra: Infrastructure endpoint is disabled
2024-05-29T17:00:41.927724Z  INFO trustify_infrastructure::health::checks::local: received shutdown signal
2024-05-29T17:00:41.927780Z  INFO trustify_infrastructure::health::checks::local: check future returned
2024-05-29T17:00:41.927978Z  INFO trustify_infrastructure::app::http: JSON limit: 256.0 kiB
2024-05-29T17:00:41.928005Z  INFO trustify_infrastructure::app::http: Payload limit: 2.0 MiB
2024-05-29T17:00:41.928151Z  INFO trustify_infrastructure::app::http: Binding to: [::1]:8080
2024-05-29T17:00:41.928224Z  INFO actix_server::builder: starting 12 workers
2024-05-29T17:00:41.928261Z  INFO actix_server::server: Tokio runtime found; starting in existing Tokio runtime

related to: trustification/scale-testing#5

@helio-frota helio-frota added the question Further information is requested label May 29, 2024
@helio-frota
Copy link
Collaborator Author

Maybe good to update the readme with the correct command ?

oh that is already documented there 👍
https://github.com/trustification/trustify/blob/main/docs/oidc.md#embedded-oidc-server

@helio-frota
Copy link
Collaborator Author

I'll close this ... maybe probably related to trustification/trustify-ui#37
thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants