1
0
mirror of https://github.com/volatiletech/authboss.git synced 2025-01-22 05:09:42 +02:00

494 Commits

Author SHA1 Message Date
Aaron L
ecd0e44e0b Update changelog v3.0.1 2020-08-25 22:55:11 -07:00
Aaron L
5f3d08ea8a Pass query string along in login redirects 2020-08-25 22:47:39 -07:00
Aaron L
7bf783b491 Merge branch 'ibraheemdev/patch-1' into master 2020-08-25 19:37:19 -07:00
Ibraheem Ahmed
309eb2b3d9
update authboss_test.go to use middleware2 2020-08-14 10:04:10 -04:00
Aaron L
c7811ebab5 Correct typo 2020-08-10 14:09:24 -07:00
Aaron L
4d72929adb Merge branch 'jakha/patch-1' into dev 2020-07-19 16:08:37 -07:00
Aaron L
960b2df01b Merge branch 'stephenafamo/dev' into dev 2020-07-19 16:08:19 -07:00
jakha
1e7cb34290
Update README.md 2020-07-08 18:51:15 +04:00
jakha
9d5c3145d1
Update README.md 2020-07-08 18:45:05 +04:00
Stephen Afam-Osemene
239555a6d8
Add Oauth1 docs to Readme TOC 2020-07-07 09:36:30 +02:00
Aaron
4a102bf3bd Merge remote-tracking branch 'stephenafamo/dev' into dev 2020-07-06 10:00:00 -07:00
Stephen Afam-Osemene
a08329c355
Add oauth1 module docs to README.md 2020-07-06 02:19:35 +02:00
Aaron L
fddf30677c Add github workflows v3.0.0 2020-07-03 11:32:39 -07:00
Aaron L
0a256b5200 Update readme 2020-07-03 11:32:30 -07:00
Aaron L
8a9a7ed87c Update readme for go modules 2020-07-03 11:24:28 -07:00
Aaron L
3a5c333b5b Move to go modules 2020-07-03 11:24:07 -07:00
Aaron L
08fa0a6abf Add docs for special casing of Load() for oauth2 2020-07-03 11:02:23 -07:00
Aaron L
7cb9fa3f07 Fix bug in lock code v2.4.1 2020-05-18 18:29:50 -07:00
Aaron L
020487826a Add MailNoGoroutine option
This change allows users to write Mailer implementations that either
spawn their own goroutines or honor proper context usage. The current
behavior of the modules with this setting turned to 'false' creates a race
condition between the original http request's context authboss was handed being
cancelled by the http server, and the use of that context by the mailer
implementation which is being run in a goroutine.
v2.4.0
2020-02-07 14:24:40 -08:00
Aaron L
1a504ce1f4 Update changelog v2.3.2 2020-01-30 10:16:10 -08:00
Aaron L
c462afb065 Fix potential misconfiguration 2020-01-30 10:11:47 -08:00
Aaron L
02deb67e82 Merge branch 'frederikhors/Unused-type' 2020-01-30 09:50:54 -08:00
Aaron L
b0b6d3b017 Merge branch 'frederikhors/Unused-function' 2020-01-30 09:50:15 -08:00
Aaron L
4d33b97b4f Merge branches
'frederikhors/patch-1'
'frederikhors/Redundant-type-conversion'
'frederikhors/Redundant-types-in-composite-literals'
'frederikhors/Imported-pkg-name-as-name-identifier'
'frederikhors/Variable-'delete'-collides-with-builtin-function'
2020-01-30 09:49:22 -08:00
frederikhors
e4d1e16935 Variable 'delete' collides with builtin function 2020-01-29 14:59:47 +01:00
frederikhors
6f6f2e6fd7 Imported pkg name as name identifier 2020-01-29 14:52:00 +01:00
frederikhors
6aae44ae44 Unused type 2020-01-29 14:47:32 +01:00
frederikhors
d2e9e10908 Unused function 2020-01-29 14:46:29 +01:00
frederikhors
827256e4d7 Redundant types in composite literals 2020-01-29 14:08:11 +01:00
frederikhors
9c764f69fe Redundant type conversion 2020-01-29 14:04:44 +01:00
frederikhors
89a17c17c4
Repetition range replaceable by '+' 2020-01-29 13:14:14 +01:00
Aaron L
852e35abde Update changelog v2.3.1 2020-01-28 18:18:23 -08:00
Aaron L
e6061b1c98 Merge branch 'frederikhors/patch-1' into dev 2020-01-28 18:17:10 -08:00
frederikhors
dd50d39785
Fix "defaults" package link 2020-01-28 20:15:30 +01:00
Aaron L
234546b401 Update changelog 2019-10-21 10:42:21 -07:00
Aaron L
ab5003c870 Merge branch 'abelkuruvilla/master' into dev 2019-10-21 10:41:24 -07:00
Aaron L
5cd1340c16 Update changelog 2019-10-20 19:30:40 -07:00
Aaron L
928ca45c51 Merge branch 'Gys/Gys-email-patch' into dev 2019-10-20 19:25:51 -07:00
Abel Kuruvilla
8c7bb388ad Add logout events 2019-10-21 01:53:36 +05:30
Gys
8c6ebdc085
add the context data before rendering emails
In Responder.Respond() all context data is merged into the HTMLData before continuing to the HTML rendering. This commit does the same for emails, to make personalized emails possible.
2019-10-12 13:00:56 +01:00
Aaron L
9dc8f7711c Add DeleteAllSession to mock 2019-07-11 00:47:56 -07:00
Aaron L
4d85b23e8a Fix missing lastaction on login
- Add Setup() function for expire to install a hook to set last action
  on successful login. If Setup() is not called, expiration starts from
  the first request made by the logged in user after the login request
  itself.
v2.3.0
2019-03-30 15:56:13 -07:00
Aaron L
834bb1ba43 Fix bug in expire
Users were able to persist one request past expiration because the
session state was not actually hidden for downstream http handlers as it
was in Authboss 1.0 because of the abstraction of ClientState where an
http handler cannot alter the session subsequent handlers.

There's a number of positive reasons for the design as is, but it did
end up creating this bug when this code was ported from v1 to v2.
2019-03-30 15:32:39 -07:00
Aaron L
81ffd176ac Add VerifyPassword method 2019-03-15 13:43:57 -07:00
Aaron L
12fcb0d914 Fix readme typos 2019-03-06 19:50:25 -08:00
Aaron L
4b00b4dd33 Add validation to recover start 2019-03-06 08:25:30 -08:00
Aaron L
5c92c016e0 Merge branch 'dannashirn/master' into dev 2019-02-06 20:10:50 -08:00
Franco Albornoz
727723f88a
Delete duplicate phrase in README.md 2019-01-29 16:27:02 -03:00
Aaron L
a7b9d57691 Move mocks so external packages can use them 2019-01-20 09:45:26 -08:00
Aaron L
4a8ff134bb Update changelog 2019-01-12 11:42:38 -08:00