Releases: vapor-community/Imperial
v0.10.0
Configurable Env Vars
Made the token struct environment variable names configurable by making them static
.
v0.9.1
v0.9.0
v0.8.0
v0.7.3
URL Encoded Spaces
The scope
query string parameters in the Google and GitHub routers used raw space characters (
), which sometimes caused the URL to break. Theses have been replaced with URL encoded spaces (%20
), so they should always work now.
0.7.2
v0.7.1
JWT 3
Updated JWT package version to 3.0! Something else might have been fixed also 🤔. Not sure.
v0.7.0
Server-to-Server with Google
You can now do Server-to-Server auth with Google. No guide yet. You can roughly follow the other Google auth guide to get an idea of what you are supposed to do.
You can now get a token without hitting a route using:
FederatedServiceRouter(callback: "") { req, _ in req.makeResponse() }.fetchToken(from: request)
v0.6.0
Neo
Take the red pill. It's worth it.
v0.5.3
Vapor 3
Imperial and its documentation has been updated for Vapor 3 RC. Have fun!