-
Notifications
You must be signed in to change notification settings - Fork 10
Description
Hi there,
I saw your nice OAuth module and as you have seen I liked it so much that I have forked it at https://github.com/teamhackback/oauth
I have done a couple of further changes and due to the split of client.d into multiple files a PR might be long. However if you are interested I am happy to look into cleaning the changes and incorporating them into a PR. I also plan to publish a bigger example app in the next weeks.
Here's an overview of major changes:
Bug fixes
- properly remove "oauth.session": teamhackback@a0e0c35 (based on vibe.http.session: Allow to remove a field from a session vibe-d/vibe.d#1670)
- Add
.duptosha256Of(base);- for some weird reason the allocated memory seems to change - Add redirect by default: teamhackback@018aa4b
Other changes
- Split
client.dintoexception.d,session.d,settings.d(config.dis part ofsettings.d) - Made a lot of stuff
@safefor Vibe.d 0.8 - Add GitHub provider
- Load config from environment
- Added minimal logging
- Added
extraParamstowebapp.login - Changed return type of
webapp.logintobool
Removed caching from Webapp convience wrapper
As I want to deploy my application on multiple servers/threads a cache is problematic as the second request might hit another thread / server. Moreover a long-running application also needs some auto-cleanup, which currently isn't implemented. Thus I removed both settingsCache and sessionCache.