tommie
tommie
PoC for adding [Message](https://v8.github.io/api/head/classv8_1_1Message.html) and using [Exception::CreateMessage](https://v8.github.io/api/head/classv8_1_1Exception.html#a22413d148b1c9d62f0055a6bed70d1d3): https://github.com/rogchap/v8go/commit/21f163385027c104e40e5e4562ceffc8bc285543
New version for discussion: https://github.com/rogchap/v8go/compare/master...tommie:jserror-274?expand=1 I'm getting "unknown" locations when using `Exception::CreateMessage` after-the-fact on an error object in `errors_test.go`. In the existing code, we use `TryCatch::Message()`, which is [constructed using...
There isn't much docs, unfortunately. * https://docs.gitea.io/en-us/config-cheat-sheet/ lists the headers `REVERSE_PROXY_AUTHENTICATION_USER` and `REVERSE_PROXY_AUTHENTICATION_EMAIL` * https://github.com/go-gitea/gitea/blob/master/modules/auth/sso/reverseproxy.go#L35 is the relevant code. (That file is short.) * https://github.com/go-gitea/gitea/issues/2347 was the proposal to support...
> What do you think? Thanks for thinking about it. More powerful, but more verbose. That works for me. To allow multiple users, each user would use a separate `--user-attribute-map`,...
Sorry about the 1.5 year delay. My code was running fine, but now I want to use the new rule configuration, and remembered. :) See the README for the syntax....
One open question: It would be useful (in terms of verbosity) to always send `X-Forwarded-Email` if the `X-Forwarded-User`.
Hmm. I could see two issues: 1. it doesn't check the HTTP status, so this might actually be an error JSON returned from Google. 2. the Authorization header should probably...
Yay, milestone! Okay, so if `sub` is being used for localpart, that means `preferred_username` isn't available in userinfo, which is expected. I'd expect other OIDC providers to work as well,...
> userAPI.QueryNumericLocalpart failed That's strange. It looks like that's a function to generate a next higher numeric ID: https://github.com/matrix-org/dendrite/blob/main/userapi/storage/postgres/accounts_table.go#L67 ```go const selectNewNumericLocalpartSQL = "" + "SELECT COALESCE(MAX(localpart::integer), 0) FROM account_accounts...
* Filed a bug. * Switched to using said numeric localpart generation instead of falling back to `sub` when `preferred_username` is missing. * **Breaking** Pushed a configuration revamp. It moves...