Skip to content

Releases: vapor-community/Imperial

v0.9.0

31 Jan 16:15
1dd41ee
Compare
Choose a tag to compare

Facebook Integration

Checkout the guide here!

v0.8.0

11 Jan 12:46
98fe8f1
Compare
Choose a tag to compare

Shopify Auth

Adds support for the Shopify OAuth API. To set it up, read the guide here.

v0.7.3

25 Dec 13:18
54c8e22
Compare
Choose a tag to compare

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

18 Nov 11:57
c1b6b21
Compare
Choose a tag to compare

Imperial 0.7.2

  • #20 Fix compiler warning in Google JWT Router

v0.7.1

18 Aug 20:49
54c47c2
Compare
Choose a tag to compare

JWT 3

Updated JWT package version to 3.0! Something else might have been fixed also 🤔. Not sure.

v0.7.0

06 Jun 21:57
9b67da8
Compare
Choose a tag to compare

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

02 Apr 21:59
b385dcb
Compare
Choose a tag to compare

Neo

Take the red pill. It's worth it.

v0.5.3

19 Mar 22:04
6c08410
Compare
Choose a tag to compare

Vapor 3

Imperial and its documentation has been updated for Vapor 3 RC. Have fun!

v0.4.0

20 Jan 21:11
12dab70
Compare
Choose a tag to compare

Vapor 3

Now ported to Vapor 3! Use version 0.3.0 if you are on Vapor 2.

You can now conform to FederatedCreatable so you can create an instance of a model from a service and store it in a session:

let user = request.create(User.self, from: .github)
let user = request.fetch(User.self)

(This is how it is supposed to work. Haven't tested it yet 😉.)

v0.3.0

14 Nov 20:13
Compare
Choose a tag to compare

Google Auth

Federated Login with Google is now implemented!