auther 15.0.0 → 15.0.2
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 +2 -2
- data/lib/auther/engine.rb +1 -0
- data.tar.gz.sig +0 -0
- metadata +7 -4
- 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: 872b92cd6d233407e157d8da676f6884128b7605033b8db6b214cc91dca06b77
|
4
|
+
data.tar.gz: 743510ca065d69b77b36e6971b21eb30a86315f9aa92211ee7e3eb8acacf02d6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b892b27807317e6e63338ddbceef8f240724ea26798cd19ce9bd44959ccf09f68b435b64b25ea48c7a63f36c92cc4612cc83d8c25e6674d527faed3b442722c5
|
7
|
+
data.tar.gz: dd929f0925ad62f1f158f30da54ca7927936515f4dcf3c4548932fb3a19e548a0fb192e5f40495e18e70aaf9a1a27b0c8d3efbc75a8b9d2e273f843f13ac2088
|
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
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |spec|
|
4
4
|
spec.name = "auther"
|
5
|
-
spec.version = "15.0.
|
5
|
+
spec.version = "15.0.2"
|
6
6
|
spec.authors = ["Brooke Kuhlmann"]
|
7
7
|
spec.email = ["brooke@alchemists.io"]
|
8
8
|
spec.homepage = "https://alchemists.io/projects/auther"
|
@@ -23,7 +23,7 @@ Gem::Specification.new do |spec|
|
|
23
23
|
spec.signing_key = Gem.default_key_path
|
24
24
|
spec.cert_chain = [Gem.default_cert_path]
|
25
25
|
|
26
|
-
spec.required_ruby_version = "
|
26
|
+
spec.required_ruby_version = [">= 3.2", "<= 3.3"]
|
27
27
|
spec.add_dependency "rails", "~> 7.0"
|
28
28
|
spec.add_dependency "refinements", "~> 11.0"
|
29
29
|
spec.add_dependency "sass-rails", "~> 6.0"
|
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.2
|
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-11-15 00:00:00.000000000 Z
|
39
39
|
dependencies:
|
40
40
|
- !ruby/object:Gem::Dependency
|
41
41
|
name: rails
|
@@ -142,16 +142,19 @@ require_paths:
|
|
142
142
|
- lib
|
143
143
|
required_ruby_version: !ruby/object:Gem::Requirement
|
144
144
|
requirements:
|
145
|
-
- - "
|
145
|
+
- - ">="
|
146
146
|
- !ruby/object:Gem::Version
|
147
147
|
version: '3.2'
|
148
|
+
- - "<="
|
149
|
+
- !ruby/object:Gem::Version
|
150
|
+
version: '3.3'
|
148
151
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
149
152
|
requirements:
|
150
153
|
- - ">="
|
151
154
|
- !ruby/object:Gem::Version
|
152
155
|
version: '0'
|
153
156
|
requirements: []
|
154
|
-
rubygems_version: 3.4.
|
157
|
+
rubygems_version: 3.4.22
|
155
158
|
signing_key:
|
156
159
|
specification_version: 4
|
157
160
|
summary: Enhances Rails with multi-account, form-based, database-less, application-wide
|
metadata.gz.sig
CHANGED
Binary file
|