Kris Runzer
ab0d56f2e2
Fix registration to allow custom field validation
2015-04-10 13:38:51 -07:00
Kris Runzer
24b9501709
Add 'showRegister' flag to auth module.
2015-04-10 12:04:26 -07:00
Kris Runzer
52c2f83e17
Add missing newline on auth log message.
2015-04-03 11:55:03 -07:00
Kris Runzer
d60dd6ddba
Remove cloaking of errors on auth credentail validation. Errors properly log to LogWriter.
2015-04-03 11:50:07 -07:00
Aaron L
c1d6843a27
Update README.md
2015-04-03 08:38:33 -07:00
Aaron L
43289ebcaf
Create CHANGELOG.md
2015-04-01 13:35:54 -07:00
Aaron L
077f0bf1a5
Update README.md
2015-04-01 13:31:44 -07:00
Aaron
c98ef93e06
Fix modules after refactor.
2015-04-01 13:08:08 -07:00
Aaron
9ff0b65629
Rewrite module loading to be per-instance
2015-03-31 15:08:43 -07:00
Aaron
d6c0eb8684
Remove state from config, add to authboss type.
2015-03-31 12:36:40 -07:00
Aaron
f12f10fa43
Stop reliance on global scope.
...
- This change was necessary because multi-tenancy sites could not use
authboss properly.
2015-03-31 12:34:03 -07:00
Aaron
bd0d3c5f68
Add a default logger.
...
- Having the default logger set to nil was troublesome because some errors
are hard to detect without a logger. This falls under "sane default"
changes and so should be made.
2015-03-30 09:55:37 -07:00
Aaron L
d8051d9aa5
Update README.md
2015-03-30 09:24:12 -07:00
Aaron L
a8628495c3
Update README.md
2015-03-28 09:32:39 -07:00
Aaron L
7b51faf7ed
Update README.md
2015-03-28 09:27:16 -07:00
Aaron L
d26aa23a3a
Update README.md
2015-03-28 09:26:28 -07:00
Kris Runzer
5bdcddd9da
Rename internal/render to internal/response
2015-03-28 09:08:05 -07:00
Kris Runzer
db1eb3a9a8
Add redir override. All redirects now occur through render.Redirect
2015-03-28 08:53:32 -07:00
Aaron
c956141007
Clarify some documentation.
2015-03-27 09:44:20 -07:00
Aaron
1f6bb00137
Update Readme.
2015-03-27 09:38:23 -07:00
Aaron
a4fd382287
Make RememberStorer more independent.
...
- RememberStorer checks to see if either provided storer is of the correct
type. If neither are then the module fails to load.
- Fix #48
2015-03-27 09:35:55 -07:00
Aaron
1c275a132a
Make storage requirements more consistent.
...
- Fix #44
2015-03-27 09:35:54 -07:00
Aaron
883a907ca4
Add bages to readme.
2015-03-27 09:35:54 -07:00
Aaron L
8ccdc086f4
Update README.md
2015-03-24 19:55:56 -07:00
Aaron
07cbd6016f
Make remember and oauth2 work better together.
...
- Change OAuth2 extra params to not use state, but session instead.
2015-03-24 19:39:20 -07:00
Aaron L
e83110ee31
Add UpdatePassword.
...
- Fix #50
2015-03-16 22:58:32 -07:00
Aaron L
04d2716963
Add logout route to oauth2
...
- Fix #51
2015-03-16 21:46:15 -07:00
Aaron L
185d916d95
Fix some comments.
2015-03-16 21:38:00 -07:00
Aaron L
3d905f001f
Go vet fixes.
2015-03-16 14:51:44 -07:00
Aaron L
99d0af8b72
Destroy a list of go lint errors.
2015-03-16 14:42:45 -07:00
Aaron
ae71333bfe
Update docs again.
2015-03-15 15:20:50 -07:00
Aaron
d7e63bc876
Remove silly key return from RememberStorer
2015-03-15 15:00:37 -07:00
Aaron
ec527a1113
Add documentation.
2015-03-15 14:36:27 -07:00
Aaron
e14efb13b7
Make confirm redirect to a sane path.
2015-03-15 11:56:15 -07:00
Aaron
d8cede4292
Rename TokenStorer to RememberStorer
2015-03-15 11:26:25 -07:00
Aaron
47d9dc66f8
Rename OAuthProvider to OAuth2Provider
...
- Add more docs.
2015-03-15 11:25:59 -07:00
Aaron
090ce2b6c3
Make register follow it's redir path.
2015-03-15 11:25:23 -07:00
Aaron
4651176f4d
Add more config docs.
2015-03-15 11:25:01 -07:00
Aaron
87e0ab9835
Delete useless readme files.
2015-03-15 11:24:38 -07:00
Aaron
fc0ec60a4f
Make the lock module respect lock duration.
2015-03-15 08:38:50 -07:00
Aaron
0754b965b1
Update config documentation.
...
- Fix #47 : Remove ModuleAttrMeta from Storers. Rename to ModuleAttributes.
- Add some additional deafult values to config.
2015-03-15 08:31:48 -07:00
Aaron
f93fb38181
Change documentation a little bit, and fix one bug.
2015-03-15 08:06:08 -07:00
Aaron
fb97394c7f
Fix CurrentUser to pull the current user.
...
- Make slightly nicer tests for camelcasing.
- Fix an issue with oauth url generation.
2015-03-13 22:09:01 -07:00
Aaron L
06edd2e615
Make OAuth2 implementation less shoddy.
...
- Add a new storer specifically for OAuth2 to enable clients to choose
regular database storing OR Oauth2 but not have to have both.
- Stop storing OAuth2 credentials in a combined form inside username.
- Add new events to capture OAuth events just like auth.
- Have pass-through parameters for OAuth init urls, this allows us to
pass additional behavior options (redirects and remember me) as well
as other things that should be present on the page that is redirected
to.
- Context.LoadUser is now OAuth aware.
- Remember's callbacks now include an OAuth check to see if a horribly
packed state variable contains a flag to say that we want to be
remembered.
- Change the OAuth2 Callback to use Attributes instead of that custom
struct to allow people to append whatever attributes they want into
the user that will be saved.
2015-03-13 16:29:58 -07:00
Aaron
082caf88b3
Clean up OAuth and finish tests.
...
- Fix #25
2015-03-13 02:15:58 -07:00
Aaron
538adcf188
Add initial oauth2 support.
...
- Needs more providers and more tests.
2015-03-12 19:20:36 -07:00
Aaron
dccabb0754
Rename HostName to RootURL
2015-03-12 19:20:28 -07:00
Kris Runzer
2b6954709d
Add simple context to default emails
2015-03-08 17:40:59 -07:00
Kris Runzer
bb1bae6778
Test recoverComplete handlerFunc
2015-03-07 20:46:37 -08:00
Kris Runzer
e784e79fb5
Fixed recover email urls
2015-03-07 19:45:48 -08:00