ueberauth / guardian_backdoor

A plug to write faster acceptance tests by skipping the sign-in process. This feature is inspired by Clearance’s backdoor.
MIT License
26 stars 5 forks source link

Permit working with Guardian 2.x #6

Closed Grantimus9 closed 2 years ago

Grantimus9 commented 2 years ago

Guardian backdoor currently specifies that it needs Guardian ~> 1.0, and Guardian 2.0 is now out.

I checked that Guardian 2.x didn't break any of the functions that Guardian Backdoor relied on, bumped and ran tests and everything still works. This PR adds support for 2.0 and does not remove support for 1.0 so it doesn't require a major version bump.

Thanks maintainers for putting together this little library.

Closes #5.

yordis commented 2 years ago

🚀 💜