auther 15.0.0 → 15.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data/README.adoc +15 -20
- data/auther.gemspec +1 -1
- data/lib/auther/engine.rb +1 -0
- data.tar.gz.sig +0 -0
- metadata +3 -3
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f85385ff8f6b96f71d2ab50f9668f83ba706f7c1bdaf4a50af059b3b90960df8
|
4
|
+
data.tar.gz: 01dcd93f03dc8c2703f30fac841bec8f7c681ab73c9ef0ba04be55a722b6bfaf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9b0ab35693f96ec872fc77959c405bdf796935a7d82e1954b6ab641b1d258c91c9bdb96ac80190bd6b7d013447c5d2b4796168cd96ea09e08f48026a0d15c2b9
|
7
|
+
data.tar.gz: 1540474c4e852401361fdd638a39c3abd43053d34a69ed624f4667581e1fb5000fb0b684b2d7b0ba6169187a71540de4b53b6dcb18f2ce3168cdcf8a840496ea
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data/README.adoc
CHANGED
@@ -4,25 +4,15 @@
|
|
4
4
|
|
5
5
|
= Auther
|
6
6
|
|
7
|
-
Auther provides simple, form-based authentication for apps that need security but don't want to deal
|
8
|
-
with the clunky HTTP Basic Authentication user interface or as heavyweight as
|
9
|
-
link:https://github.com/plataformatec/devise[Devise]. Auther doesn't require a database and is
|
10
|
-
compatible with password managers which makes for a pleasant user experience.
|
7
|
+
Auther provides simple, form-based authentication for apps that need security but don't want to deal with the clunky HTTP Basic Authentication user interface or as heavyweight as link:https://github.com/plataformatec/devise[Devise]. Auther doesn't require a database and is compatible with password managers which makes for a pleasant user experience.
|
11
8
|
|
12
|
-
Auther is useful in situations -- like minimal viable products or applications with a small user
|
13
|
-
base -- where you need to a security layer up and running quickly before adding more robust user
|
14
|
-
management.
|
9
|
+
Auther is useful in situations -- like minimal viable products or applications with a small user base -- where you need to a security layer up and running quickly before adding more robust user management.
|
15
10
|
|
16
11
|
toc::[]
|
17
12
|
|
18
13
|
== Features
|
19
14
|
|
20
|
-
* Supports form-based authentication compatible with password managers like
|
21
|
-
link:https://agilebits.com/onepassword[1Password].
|
22
|
-
|
23
|
-
image::https://alchemists.io/images/projects/auther/screenshots/form-without_errors.png[Form Without Errors Screenshot]
|
24
|
-
image::https://alchemists.io/images/projects/auther/screenshots/form-with_errors.png[Form With Errors Screenshot]
|
25
|
-
|
15
|
+
* Supports form-based authentication compatible with password managers like link:https://bitwarden.com[Bitwarden].
|
26
16
|
* Uses CSS Flexbox for lightweight styling.
|
27
17
|
* Uses encrypted account credentials to keep sensitive information secure.
|
28
18
|
* Supports multiple accounts with optional path exclude lists.
|
@@ -30,6 +20,11 @@ image::https://alchemists.io/images/projects/auther/screenshots/form-with_errors
|
|
30
20
|
* Provides a generator for easy install and setup within an existing project.
|
31
21
|
* Provides auto-redirection to requested path for verified credentials.
|
32
22
|
|
23
|
+
== Screenshots
|
24
|
+
|
25
|
+
image::https://alchemists.io/images/projects/auther/screenshots/form-without_errors.png[Form Without Errors Screenshot,width=347,height=394,role=focal_point]
|
26
|
+
image::https://alchemists.io/images/projects/auther/screenshots/form-with_errors.png[Form With Errors Screenshot,width=386,height=456,role=focal_point]
|
27
|
+
|
33
28
|
== Requirements
|
34
29
|
|
35
30
|
. link:https://www.ruby-lang.org[Ruby]
|
@@ -67,24 +62,24 @@ Once the gem is installed, you only need to require it:
|
|
67
62
|
require "auther"
|
68
63
|
----
|
69
64
|
|
70
|
-
Run the
|
65
|
+
Run the credentials generator to generate credentials for your application:
|
71
66
|
|
72
67
|
[source,bash]
|
73
68
|
----
|
74
|
-
rails generate auther:
|
69
|
+
rails generate auther:credentials
|
75
70
|
----
|
76
71
|
|
77
|
-
Run the
|
72
|
+
Run the install generator to configure and initialize your application:
|
78
73
|
|
79
74
|
[source,bash]
|
80
75
|
----
|
81
|
-
rails generate auther:
|
76
|
+
rails generate auther:install
|
82
77
|
----
|
83
78
|
|
84
|
-
If using link:https://direnv.net[direnv],
|
79
|
+
If using link:https://direnv.net[direnv], you can copy and paste the generated
|
85
80
|
credentials into your `.envrc` file. Example:
|
86
81
|
|
87
|
-
image::https://alchemists.io/images/projects/auther/screenshots/credentials_generator.
|
82
|
+
image::https://alchemists.io/images/projects/auther/screenshots/credentials_generator.png[Credentials Generator Screenshot,width=768,height=288,role=focal_point]
|
88
83
|
|
89
84
|
== Usage
|
90
85
|
|
@@ -235,7 +230,7 @@ debug custom Auther settings:
|
|
235
230
|
* If upgrading Rails, changing the cookie/session settings, generating a new secret base key, etc.
|
236
231
|
this might cause Auther authentication to fail. Make sure to clear your browser cookies in this
|
237
232
|
situation or use Google Chrome (incognito mode) to verify.
|
238
|
-
* If the authentication view/form looks broken (
|
233
|
+
* If the authentication view/form looks broken (style wise) this could be due to custom
|
239
234
|
`ActionView::Base.field_error_proc` settings defined by your app (usually via an initializer).
|
240
235
|
Auther uses this configuration `ActionView::Base.field_error_proc = proc { |html_tag, _|
|
241
236
|
html_tag.html_safe }` so that no additional markup is added to the DOM when errors are raised. If
|
data/auther.gemspec
CHANGED
data/lib/auther/engine.rb
CHANGED
@@ -15,6 +15,7 @@ module Auther
|
|
15
15
|
end
|
16
16
|
|
17
17
|
initializer "auther.initialize" do |app|
|
18
|
+
app.config.assets.precompile.append "auther/application.css" unless Rails.env.test?
|
18
19
|
app.config.app_middleware.use Gatekeeper, app.config.auther_settings
|
19
20
|
app.config.filter_parameters += %i[login password]
|
20
21
|
end
|
data.tar.gz.sig
CHANGED
Binary file
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: auther
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 15.0.
|
4
|
+
version: 15.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brooke Kuhlmann
|
@@ -35,7 +35,7 @@ cert_chain:
|
|
35
35
|
3n5C8/6Zh9DYTkpcwPSuIfAga6wf4nXc9m6JAw8AuMLaiWN/r/2s4zJsUHYERJEu
|
36
36
|
gZGm4JqtuSg8pYjPeIJxS960owq+SfuC+jxqmRA54BisFCv/0VOJi7tiJVY=
|
37
37
|
-----END CERTIFICATE-----
|
38
|
-
date: 2023-
|
38
|
+
date: 2023-08-08 00:00:00.000000000 Z
|
39
39
|
dependencies:
|
40
40
|
- !ruby/object:Gem::Dependency
|
41
41
|
name: rails
|
@@ -151,7 +151,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
151
151
|
- !ruby/object:Gem::Version
|
152
152
|
version: '0'
|
153
153
|
requirements: []
|
154
|
-
rubygems_version: 3.4.
|
154
|
+
rubygems_version: 3.4.18
|
155
155
|
signing_key:
|
156
156
|
specification_version: 4
|
157
157
|
summary: Enhances Rails with multi-account, form-based, database-less, application-wide
|
metadata.gz.sig
CHANGED
Binary file
|