Tags: Xanewok/gotrue
Tags
fix: add test for all sms providers (supabase#676) * refactor: use custom HttpClient interface * test: add test for twilio SendSms * use gock for mocking requests * test twilio error edge cases
fix: handle null session id (supabase#667) * fix: omit session_id in jwt if null * fix: exclude null session uuid from claim * refactor: remove unused http.ResponseWriter * test: add test for auth middleware methods * resolve pr comments * refactor: use uuid ptr instead of nulls.UUID (supabase#668) * refactor: use ptr instead of nulls.UUID * update tests
fix: global logrus configuration (supabase#575) Use ConfigureLogging to globally configure logrus so that all logs are bound to the same configuration, e.g. level and formatter. When create a new logger, such as in Mailer, use logrus.StandardLogger() instead of logrus.New() so that it inherits the global configuration Also, provide pop with a logging function that wraps logrus. To be consistent with the current behavior, a new setting, GOTRUE_LOG_SQL was added that takes the values of "all", "statement" or "none" (default to "none"). "statement" will log any SQL statement that goes through POP while "all" will log the statement + arguments. "all" could log sensitive information. Co-authored-by: Kang Ming <kang.ming1996@gmail.com>
fix: use `delete` instead of `truncate` for fast tests (supabase#654)
fix: return provider_refresh_token in query fragment (supabase#641) * feat: Add provider_refresh_token query fragment Return the provider_refresh_token in the query fragment if it exists * docs: add reference link to the OAuth2 spec * fix: remove provider refresh token in OAuth1
PreviousNext