Add signup/signin with backend-issued JWT (Argon2 passwords in SurrealDB), role-based authorization policies, per-user data access levels, consent register and read audit log. Protect user endpoints and record sensitive reads.
23 lines
498 B
JSON
23 lines
498 B
JSON
{
|
|
"Logging": {
|
|
"LogLevel": {
|
|
"Default": "Information",
|
|
"Microsoft.AspNetCore": "Warning"
|
|
}
|
|
},
|
|
"Auth": {
|
|
"Issuer": "tarninahub",
|
|
"Audience": "tarninahub",
|
|
"TokenLifetimeMinutes": 60,
|
|
"SigningKey": "dev-only-signing-key-0123456789-abcdefghijklmnopqrstuvwxyz"
|
|
},
|
|
"SurrealDb": {
|
|
"Namespace": "hubmi",
|
|
"Database": "hubmi",
|
|
"DataDirectory": "data",
|
|
"RemoteUrl": "ws://127.0.0.1:8010/rpc",
|
|
"Username": "root",
|
|
"Password": "root"
|
|
}
|
|
}
|