aboutsummaryrefslogtreecommitdiff
path: root/main.go (follow)
Commit message (Collapse)AuthorAgeFilesLines
* *: Switch to PostgresRunxi Yu2024-08-191-42/+0
|
* Switch to plain database/sql and sqlite3Runxi Yu2024-08-191-23/+4
|
* {main,oidc}.go, index{,_login}.tmpl: Basic signing inRunxi Yu2024-08-191-2/+26
| | | | There are still issues fetching the user from the database
* main.go, tmpl/index_login.tmpl: Make it possible to log in at indexRunxi Yu2024-08-181-8/+16
| | | | This saves one redirect from /login.
* config: Add tmpl to specify where templates areRunxi Yu2024-08-181-1/+1
|
* {misc,main}.go: Use generics and er(any, error) to simply error handlingRunxi Yu2024-08-181-4/+2
|
* db.goRunxi Yu2024-08-181-10/+2
|
* main.go: Listen after fetching OIDC configurationRunxi Yu2024-08-181-3/+3
|
* Add licensing and login pageRunxi Yu2024-08-181-1/+36
|
* main.go: Some commentsRunxi Yu2024-08-181-2/+9
|
* Configuration changesRunxi Yu2024-08-181-1/+7
|
* Use separate tmpl/ folderRunxi Yu2024-08-181-1/+1
|
* TemplatingRunxi Yu2024-08-181-5/+11
|
* Use listen{} in configRunxi Yu2024-08-181-5/+5
|
* Basic databaseRunxi Yu2024-08-181-1/+16
|
* Limit handle_index to /, not /*Runxi Yu2024-08-181-1/+1
|
* Separate index and loginRunxi Yu2024-08-181-0/+5
|
* Move fetch OpenID Connect laterRunxi Yu2024-08-171-3/+3
|
* 80-column limit. I print code sometimes.Runxi Yu2024-08-171-1/+5
|
* Add FCGI listenerRunxi Yu2024-08-171-2/+15
|
* Debug logging, and making it ignore unused variables for nowRunxi Yu2024-08-161-0/+2
|
* Basic OpenID Connect worksRunxi Yu2024-08-161-8/+5
|
* Initial HTTP listenerRunxi Yu2024-08-161-6/+17
|
* The OpenID configuration should be a global variableRunxi Yu2024-08-161-7/+2
|
* Meh, I'll use strings in the openid responseRunxi Yu2024-08-161-1/+1
|
* Further cleanupRunxi Yu2024-08-161-19/+4
|
* Split config handling and OIDC into separate filesRunxi Yu2024-08-161-78/+2
|
* Generate OpenID Connect authorize URLs, to redirect the user withRunxi Yu2024-08-161-0/+59
|
* Scrap the msal plan, I'll try to use OpenID Connect myself.Runxi Yu2024-08-161-37/+15
|
* Msal client secret auth flowRunxi Yu2024-08-161-6/+16
| | | | Except that it's broken because I need delegated, not application
* MSAL confidential client creationRunxi Yu2024-08-161-1/+9
|
* Initialize msalRunxi Yu2024-08-161-0/+5
|
* Add Msal struct in configRunxi Yu2024-08-161-0/+16
|
* Move the panic code to err.goRunxi Yu2024-08-161-7/+0
|
* Use a struct of pointers for the configRunxi Yu2024-08-161-3/+16
| | | | | This way we segfault when there's a config issue rather than propagating junk nils. Go's unmarshling is weird.
* Basic scfgRunxi Yu2024-08-161-0/+26
|
* Add Go stubRunxi Yu2024-08-161-0/+4