memory
f8086c7492
support using an identity-aware proxy for auth ( #101 )
Rather than directly fetching and verifying OAuth assertions, assume
that the app is running behind an authenticating proxy, and trust
headers that are set by the proxy.
- add config support for an "authbackend" directive, supporting either
"oauth" or "proxy" as values; the "proxy" setting selects our new codepath
- add initProxyAuth and proxyAuthMiddleware methods to the Handler struct
- rename authMiddleWare to oAuthMiddleware in the Handler struct
- construct a faked auth.JWTClaims object when in proxy mode
- update Handler.handleAuthCheck() to return useful info in proxy mode
- add a fallback user icon for proxy mode
- implement check for proxy mode in index.js
See for example and reference:
https://cloud.google.com/iap/docs/identity-howto
https://cloud.google.com/beyondcorp/
8 years ago
Max Schmitt
122783a385
Changed maxibanki to new mxschmitt username
8 years ago
Max Schmitt
9824676e7b
Fixed not working go ldflag
8 years ago
Max Schmitt
944f3e491f
Removed the bash info generation, now using ldflags
8 years ago
Max Schmitt
4efc23eda8
added boltdb storage unit testing
8 years ago
Max Schmitt
071c94b2d7
Abstracted boltdb as a storage interface ( fix #60 )
8 years ago
Max Schmitt
2e21c5d413
Refactored Frontend ( fix #51 )
8 years ago
Max Schmitt
822e4484e9
revised frontend (auto completion, util helper module)
8 years ago
Max Schmitt
d8977aefa6
Fixed protected entry redirection ( fix #55 )
Now using 'StatusSeeOther' status code which changes POST to GET responses.
8 years ago
Max Schmitt
a974047394
Cleaned up handleAccess func ( fix #53 )
8 years ago
Max Schmitt
e2d8f11786
Reduced size of the oAuth profile images ( fix #50 )
8 years ago
Max Schmitt
ac3845c11e
Reworked the template loading ( fix #54 )
8 years ago
Max Schmitt
87c3ce5b1e
Integrated password protection for shortened links ( fix #30 )
8 years ago
Max Schmitt
96b06a8734
Added UseSSL config option and added deletion button to the recent URLs table
8 years ago
Max Schmitt
70d8ddb5dc
Switched from viper to something selfmade: fix #44
8 years ago
Max Schmitt
4b8193a81b
Integrated live visitor tracking: fix #5
8 years ago
Max Schmitt
ac05d6f036
Minor changes:
- Added recent shorted URLs listing
- Added visitor page of a shorted URL
#43
8 years ago
Max Schmitt
19141a78a0
Added unit tested and increased so the code coverage: fix #9
8 years ago
Max Schmitt
6a4eb7302f
Cleaned up code and integrated deletion handling: fix #10
8 years ago
Max Schmitt
437e314250
Integrated build infos into the binary: fix #37 and cleaned up
8 years ago
Max Schmitt
93574983cb
Added link expiration: closes #22
8 years ago
Max Schmitt
0d7a5e49e0
Aded show only the maintained oAuth providers in the frontend. Fix #41
8 years ago
Max Schmitt
3bcac436ba
Added Microsoft oAuth support: Fix #23
8 years ago
Max Schmitt
c06ff7846c
Added GitHub as oAuth Provider: #23
8 years ago
Max Schmitt
3a7dde4223
- Added optional config file: fix #40
- Fixed go vet tests
- renamed config keys: fix #39
8 years ago
Max Schmitt
7b75be21e1
refactored main code
8 years ago
Max Schmitt
39cc78eb06
Fixed goreportcard issues and fixed travis-ci deployment typo
8 years ago
Max Schmitt
e5ac34903d
Cleaned up the oAuth stuff #23
8 years ago
Max Schmitt
547acee4fe
Fix #38
8 years ago
Max Schmitt
5e9c6e7e83
Fixed failing ci build caused from #34 . Now using specific config files for tests
8 years ago
Max Schmitt
477cf2de16
#36 Hotfix
8 years ago
Max Schmitt
9857081695
Fix #36
8 years ago
Max Schmitt
dbdcfa0f68
Fix #25
8 years ago
Max Schmitt
3af1a1dae4
Fixed #31
8 years ago
Max Schmitt
33e9b01cce
Fixed unit tests and cleaned up createEntry
8 years ago
Max Schmitt
2b23263613
Fix #27
8 years ago
Max Schmitt
a7037d7551
Remove .gitignore file
Fixed unit tests
8 years ago
Max Schmitt
dcfdeaa170
- removed overpowered schema generation
- fixed unit test bug
- moved most of the docu to the github wiki
8 years ago
Max Schmitt
58b8266e10
Fixed unit test
8 years ago
Max Schmitt
58d77510b8
- fixed not working debug mode
- integrated logrus
8 years ago
Max Schmitt
e7d44b67a8
Fixed #16
8 years ago
Schmitt, Max
95a2a1707d
fixed broken CI build
8 years ago
Max Schmitt
7cad7ccb42
removed gitignore file
8 years ago
Max Schmitt
90d9d383ff
added Makefile
8 years ago
Schmitt, Max
0c252d8540
Added unit tests
8 years ago
Schmitt, Max
5ab925a9d9
Fixed unit tests 2/2
8 years ago
Schmitt, Max
c4dd39aae2
Fixed unit tests 1/2
8 years ago
Schmitt, Max
be42d5b70f
- added authentification
- removed service worker (maybe add it later)
- added embedding for the templates
- added embedding for the static files
8 years ago
Max Schmitt
6d7ec04974
Added #11
8 years ago
Max Schmitt
761cbdca15
changed iferr to short forms
8 years ago