Imperial

Federated Authentication with OAuth providers

MIT License

Stars
152
Committers
22

Bot releases are visible (Hide)

Imperial - v0.9.0

Published by calebkleveter over 5 years ago

Facebook Integration

Checkout the guide here!

Imperial - v0.8.0

Published by calebkleveter almost 6 years ago

Shopify Auth

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

Imperial - v0.7.3

Published by calebkleveter almost 6 years ago

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.

Imperial - 0.7.2

Published by 0xTim almost 6 years ago

Imperial 0.7.2

  • #20 Fix compiler warning in Google JWT Router
Imperial - v0.7.1

Published by calebkleveter about 6 years ago

JWT 3

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

Imperial - v0.7.0

Published by calebkleveter over 6 years ago

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)
Imperial - v0.6.0

Published by calebkleveter over 6 years ago

Neo

Take the red pill. It's worth it.

Imperial - v0.5.3

Published by calebkleveter over 6 years ago

Vapor 3

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

Imperial - v0.4.0

Published by calebkleveter over 6 years ago

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 😉.)

Imperial - v0.3.0

Published by calebkleveter almost 7 years ago

Google Auth

Federated Login with Google is now implemented!

Imperial - v0.2.0

Published by calebkleveter almost 7 years ago

Middleware

Imperial Middleware is now ready, allowing you to protect routes that require authentication and to redirect a user if they try to access a protected route.

Imperial - v0.1.0

Published by calebkleveter almost 7 years ago

GitHub Auth

Federated Login with GitHub is now available!