omniauth-identity 3.1.2 → 3.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data/CHANGELOG.md +55 -23
- data/CODE_OF_CONDUCT.md +24 -22
- data/CONTRIBUTING.md +25 -29
- data/LICENSE.txt +1 -1
- data/README.md +116 -85
- data/SECURITY.md +24 -4
- data/lib/omniauth/identity/version.rb +1 -1
- data/lib/omniauth/identity.rb +1 -1
- data/lib/omniauth/strategies/identity.rb +3 -3
- data/lib/omniauth-identity.rb +1 -1
- data.tar.gz.sig +0 -0
- metadata +24 -19
- 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: ec83ecf143cd1670379934132cb2b2de9eda9728e78bde08e840d7484e4c4355
|
4
|
+
data.tar.gz: 320de15529ce6c80a164ccb8b6cd648be02470080d3991a3d3b20bcf90b779bb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 20b49fef66e63c724a5307cf80c1fd8d8d632ad604ed0a8bd309b7c4ec480ee29b2bd231832d5404cfe56f59a4fb35ac28dfb9296cfbc21da44a6d0372b9a3ba
|
7
|
+
data.tar.gz: b3fdaec1504f8b8ccfe1f730c765ceae51c24e35ab4405098a6731405c90533eebdd52ae48e05c944cfdb83ecb189359f99d483915e8a3a609ae037375a66ff7
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data/CHANGELOG.md
CHANGED
@@ -8,12 +8,30 @@ and this project adheres to [Semantic Versioning v2](https://semver.org/spec/v2.
|
|
8
8
|
## [Unreleased]
|
9
9
|
### Added
|
10
10
|
### Changed
|
11
|
-
###
|
11
|
+
### Deprecated
|
12
12
|
### Removed
|
13
|
+
### Fixed
|
14
|
+
### Security
|
15
|
+
|
16
|
+
## [3.1.3] - 2025-06-08
|
17
|
+
- TAG: [v3.1.3][3.1.3t]
|
18
|
+
- COVERAGE: 92.06% -- 348/378 lines in 15 files
|
19
|
+
- BRANCH COVERAGE: 79.49% -- 62/78 branches in 15 files
|
20
|
+
- 44.44% documented
|
21
|
+
### Added
|
22
|
+
- More documentation by @pboling
|
23
|
+
- Expanded test suite, covering many more points of the dependency matrix by @pboling
|
24
|
+
- Test workflows with latest dependencies and more platform and dep HEADs
|
25
|
+
### Changed
|
26
|
+
- Updated Code of Conduct to Contributor Covenant v2.1
|
27
|
+
### Fixed
|
28
|
+
- Set `SKIP_GEM_SIGNING` in env to allow `gem build` without cryptographic signing requirement by @pboling
|
29
|
+
- Useful for linux distros whose package managers sign packages independently
|
13
30
|
|
14
|
-
## [3.1.2] - 2025-05-07
|
15
|
-
-
|
16
|
-
-
|
31
|
+
## [3.1.2] - 2025-05-07
|
32
|
+
- TAG: [v3.1.2][3.1.2t]
|
33
|
+
- COVERAGE: 92.02% -- 346/376 lines in 15 files
|
34
|
+
- BRANCH COVERAGE: 79.49% -- 62/78 branches in 15 files
|
17
35
|
### Added
|
18
36
|
- 20 year signing cert expires 2045-04-29 by @pboling
|
19
37
|
- Added CITATION.cff by @pboling
|
@@ -25,9 +43,10 @@ and this project adheres to [Semantic Versioning v2](https://semver.org/spec/v2.
|
|
25
43
|
### Changed
|
26
44
|
- Upgraded Code of Conduct based on Contributor Covenant v2.1 by @pboling
|
27
45
|
|
28
|
-
## [3.1.1] - 2024-11-18
|
29
|
-
-
|
30
|
-
-
|
46
|
+
## [3.1.1] - 2024-11-18
|
47
|
+
- TAG: [v3.1.1][3.1.1t]
|
48
|
+
- COVERAGE: 92.00% -- 345/375 lines in 15 files
|
49
|
+
- BRANCH COVERAGE: 80.26% -- 61/76 branches in 15 files
|
31
50
|
- 44.44% documented
|
32
51
|
### Added
|
33
52
|
- [PR 130][130] Add SECURITY.md policy by @pboling
|
@@ -37,9 +56,10 @@ and this project adheres to [Semantic Versioning v2](https://semver.org/spec/v2.
|
|
37
56
|
|
38
57
|
[130]: https://github.com/omniauth/omniauth-identity/pull/130
|
39
58
|
|
40
|
-
## [3.1.0] - 2024-11-18
|
41
|
-
-
|
42
|
-
-
|
59
|
+
## [3.1.0] - 2024-11-18
|
60
|
+
- TAG: [v3.1.0][3.1.0t]
|
61
|
+
- COVERAGE: 91.98% -- 344/374 lines in 15 files
|
62
|
+
- BRANCH COVERAGE: 80.26% -- 61/76 branches in 15 files
|
43
63
|
- 44.44% documented
|
44
64
|
### Added
|
45
65
|
- [PR #123][123] Improve readability in #identity method of OmniAuth::Strategies::Identity by @Xeragus
|
@@ -63,26 +83,28 @@ and this project adheres to [Semantic Versioning v2](https://semver.org/spec/v2.
|
|
63
83
|
[122]: https://github.com/omniauth/omniauth-identity/pull/122
|
64
84
|
[120]: https://github.com/omniauth/omniauth-identity/pull/120
|
65
85
|
|
66
|
-
## [3.0.9] - 2021-06-16
|
86
|
+
## [3.0.9] - 2021-06-16
|
87
|
+
- TAG: [v3.0.9][3.0.9t]
|
67
88
|
### Fixed
|
68
89
|
- \[Sequel\] Fixes loading the Sequel adapter, issue reported as [#112](https://github.com/omniauth/omniauth-identity/issues/112)
|
69
90
|
### Added
|
70
91
|
- 📝 Document the Database adapters and drivers the gem currently works with
|
71
92
|
|
72
|
-
## [3.0.8] - 2021-03-24
|
93
|
+
## [3.0.8] - 2021-03-24
|
94
|
+
- TAG: [v3.0.8][3.0.8t]
|
73
95
|
### Fixed
|
74
96
|
- \[Model\] Fixes 2 issues raised in a comment on PR [#108](https://github.com/omniauth/omniauth-identity/pull/108#issuecomment-804456604)
|
75
97
|
- When `options[:on_validation]` is set `new`/`save`/`persisted?` logic is used.
|
76
98
|
- When `options[:on_validation]` is not set `create`/`persisted?` logic is used.
|
77
99
|
|
78
|
-
## [3.0.7] - 2021-03-23
|
100
|
+
## [3.0.7] - 2021-03-23
|
101
|
+
- TAG: [v3.0.7][3.0.7t]
|
79
102
|
### Fixed
|
80
103
|
- \[ActiveRecord\] Fixed [#110](https://github.com/omniauth/omniauth-identity/issues/110) which prevented `OmniAuth::Identity::Models::ActiveRecord`-based records from saving.
|
81
104
|
- \[CouchPotato\] Fixed `OmniAuth::Identity::Models::CouchPotato`'s `#save`.
|
82
105
|
- \[Sequel\] Fixed `OmniAuth::Identity::Models::Sequel`'s `#save`.
|
83
106
|
- \[Model\] Only define `::create`, `#save`, and `#persisted?` when not already defined.
|
84
107
|
- \[Model\] Restore original `info` functionality which set `name` based on `first_name`, `last_name`, or `nickname`
|
85
|
-
|
86
108
|
### Changed
|
87
109
|
- Upgraded to a newer `OmniAuth::Identity::SecurePassword` ripped from [Rails 6-1-stable](https://github.com/rails/rails/blob/6-1-stable/activemodel/lib/active_model/secure_password.rb)
|
88
110
|
- Aeons ago the original was ripped from Rails 3.1, and frozen in time.
|
@@ -97,7 +119,8 @@ and this project adheres to [Semantic Versioning v2](https://semver.org/spec/v2.
|
|
97
119
|
- Mongoid (MongoDB)
|
98
120
|
- NoBrainer (RethinkDB)
|
99
121
|
|
100
|
-
## [3.0.6] - 2021-03-20
|
122
|
+
## [3.0.6] - 2021-03-20
|
123
|
+
- TAG: [v3.0.6][3.0.6t]
|
101
124
|
### Fixed
|
102
125
|
- Fix breaking changes introduced by [#108](https://github.com/omniauth/omniauth-identity/pull/108) which prevented `:on_validation` from firing
|
103
126
|
### Added
|
@@ -108,7 +131,8 @@ and this project adheres to [Semantic Versioning v2](https://semver.org/spec/v2.
|
|
108
131
|
- `:title` defaults to `'Identity Verification'`
|
109
132
|
- `:registration_form_title` defaults to `'Register Identity'`
|
110
133
|
|
111
|
-
## [3.0.5] - 2021-03-19
|
134
|
+
## [3.0.5] - 2021-03-19
|
135
|
+
- TAG: [v3.0.5][3.0.5t]
|
112
136
|
### Fixed
|
113
137
|
- Fix breaking changes introduced by [#86's](https://github.com/omniauth/omniauth-identity/pull/86) introduction of `:on_validation`
|
114
138
|
### Added
|
@@ -117,11 +141,13 @@ and this project adheres to [Semantic Versioning v2](https://semver.org/spec/v2.
|
|
117
141
|
- Refactor `Omniauth::Strategies::Identity.registration_phase` to support `Omniauth::Identity::Model`-inheriting classes that do not define `#save`.
|
118
142
|
- This support will be dropped in v4.0.
|
119
143
|
|
120
|
-
## [3.0.4] - 2021-02-14
|
144
|
+
## [3.0.4] - 2021-02-14
|
145
|
+
- TAG: [v3.0.4][3.0.4t]
|
121
146
|
### Added
|
122
147
|
- Add support for [sequel ORM](http://sequel.jeremyevans.net/)
|
123
148
|
|
124
|
-
## [3.0.3] - 2021-02-14
|
149
|
+
## [3.0.3] - 2021-02-14
|
150
|
+
- TAG: [v3.0.3][3.0.3t]
|
125
151
|
### Added
|
126
152
|
- Add option `:on_validation`, which can be used to add a Captcha
|
127
153
|
- See [example here](https://github.com/omniauth/omniauth-identity/pull/86#issue-63225122)
|
@@ -130,7 +156,8 @@ and this project adheres to [Semantic Versioning v2](https://semver.org/spec/v2.
|
|
130
156
|
### Removed
|
131
157
|
- ruby-head build... simply too slow
|
132
158
|
|
133
|
-
## [3.0.2] - 2021-02-14
|
159
|
+
## [3.0.2] - 2021-02-14
|
160
|
+
- TAG: [v3.0.2][3.0.2t]
|
134
161
|
### Fixed
|
135
162
|
- Github Actions CI Build for Ruby 2.4, 3.0 and ruby-head
|
136
163
|
- Updated copyright
|
@@ -138,11 +165,13 @@ and this project adheres to [Semantic Versioning v2](https://semver.org/spec/v2.
|
|
138
165
|
- Added Code Climate "Quality"
|
139
166
|
- Updated Readme
|
140
167
|
|
141
|
-
## [3.0.1] - 2021-02-14
|
168
|
+
## [3.0.1] - 2021-02-14
|
169
|
+
- TAG: [v3.0.1][3.0.1t]
|
142
170
|
### Fixed
|
143
171
|
- Github Actions CI Build for various Rubies
|
144
172
|
|
145
|
-
## [3.0.0] - 2021-02-13
|
173
|
+
## [3.0.0] - 2021-02-13
|
174
|
+
- TAG: [v3.0.0][3.0.0t]
|
146
175
|
### Added
|
147
176
|
- Compatibility with Ruby 3
|
148
177
|
- Add option `:enable_login` to bypass OmniAuth disabling of GET method (default `true`)
|
@@ -159,7 +188,8 @@ and this project adheres to [Semantic Versioning v2](https://semver.org/spec/v2.
|
|
159
188
|
- Support for DataMapper, which died long ago.
|
160
189
|
- Unwanted git artifacts
|
161
190
|
|
162
|
-
## [2.0.0] - 2020-09-01
|
191
|
+
## [2.0.0] - 2020-09-01
|
192
|
+
- TAG: [v2.0.0][2.0.0t]
|
163
193
|
### Added
|
164
194
|
- CHANGELOG to maintain a history of changes.
|
165
195
|
- Include mongoid-rspec gem.
|
@@ -176,7 +206,9 @@ and this project adheres to [Semantic Versioning v2](https://semver.org/spec/v2.
|
|
176
206
|
- Gemfile.lock file
|
177
207
|
- MongoMapper support; unable to satisfy dependencies of both MongoMapper and Mongoid now that MongoMapper is no longer actively maintained.
|
178
208
|
|
179
|
-
[Unreleased]: https://github.com/omniauth/omniauth-identity/compare/v3.1.
|
209
|
+
[Unreleased]: https://github.com/omniauth/omniauth-identity/compare/v3.1.3...HEAD
|
210
|
+
[3.1.3]: https://github.com/omniauth/omniauth-identity/compare/v3.1.2...v3.1.3
|
211
|
+
[3.1.3t]: https://github.com/omniauth/omniauth-identity/tags/v3.1.3
|
180
212
|
[3.1.2]: https://github.com/omniauth/omniauth-identity/compare/v3.1.1...v3.1.2
|
181
213
|
[3.1.2t]: https://github.com/omniauth/omniauth-identity/tags/v3.1.2
|
182
214
|
[3.1.1]: https://github.com/omniauth/omniauth-identity/compare/v3.1.0...v3.1.1
|
data/CODE_OF_CONDUCT.md
CHANGED
@@ -7,8 +7,8 @@ We as members, contributors, and leaders pledge to make participation in our
|
|
7
7
|
community a harassment-free experience for everyone, regardless of age, body
|
8
8
|
size, visible or invisible disability, ethnicity, sex characteristics, gender
|
9
9
|
identity and expression, level of experience, education, socio-economic status,
|
10
|
-
nationality, personal appearance, race, religion, or sexual
|
11
|
-
and orientation.
|
10
|
+
nationality, personal appearance, race, caste, color, religion, or sexual
|
11
|
+
identity and orientation.
|
12
12
|
|
13
13
|
We pledge to act and interact in ways that contribute to an open, welcoming,
|
14
14
|
diverse, inclusive, and healthy community.
|
@@ -23,17 +23,17 @@ community include:
|
|
23
23
|
* Giving and gracefully accepting constructive feedback
|
24
24
|
* Accepting responsibility and apologizing to those affected by our mistakes,
|
25
25
|
and learning from the experience
|
26
|
-
* Focusing on what is best not just for us as individuals, but for the
|
27
|
-
|
26
|
+
* Focusing on what is best not just for us as individuals, but for the overall
|
27
|
+
community
|
28
28
|
|
29
29
|
Examples of unacceptable behavior include:
|
30
30
|
|
31
|
-
* The use of sexualized language or imagery, and sexual attention or
|
32
|
-
|
31
|
+
* The use of sexualized language or imagery, and sexual attention or advances of
|
32
|
+
any kind
|
33
33
|
* Trolling, insulting or derogatory comments, and personal or political attacks
|
34
34
|
* Public or private harassment
|
35
|
-
* Publishing others' private information, such as a physical or email
|
36
|
-
|
35
|
+
* Publishing others' private information, such as a physical or email address,
|
36
|
+
without their explicit permission
|
37
37
|
* Other conduct which could reasonably be considered inappropriate in a
|
38
38
|
professional setting
|
39
39
|
|
@@ -53,7 +53,7 @@ decisions when appropriate.
|
|
53
53
|
|
54
54
|
This Code of Conduct applies within all community spaces, and also applies when
|
55
55
|
an individual is officially representing the community in public spaces.
|
56
|
-
Examples of representing our community include using an official
|
56
|
+
Examples of representing our community include using an official email address,
|
57
57
|
posting via an official social media account, or acting as an appointed
|
58
58
|
representative at an online or offline event.
|
59
59
|
|
@@ -61,7 +61,7 @@ representative at an online or offline event.
|
|
61
61
|
|
62
62
|
Instances of abusive, harassing, or otherwise unacceptable behavior may be
|
63
63
|
reported to the community leaders responsible for enforcement at
|
64
|
-
[
|
64
|
+
[![Contact BDFL][🚂bdfl-contact-img]][🚂bdfl-contact].
|
65
65
|
All complaints will be reviewed and investigated promptly and fairly.
|
66
66
|
|
67
67
|
All community leaders are obligated to respect the privacy and security of the
|
@@ -83,15 +83,15 @@ behavior was inappropriate. A public apology may be requested.
|
|
83
83
|
|
84
84
|
### 2. Warning
|
85
85
|
|
86
|
-
**Community Impact**: A violation through a single incident or series
|
87
|
-
|
86
|
+
**Community Impact**: A violation through a single incident or series of
|
87
|
+
actions.
|
88
88
|
|
89
89
|
**Consequence**: A warning with consequences for continued behavior. No
|
90
90
|
interaction with the people involved, including unsolicited interaction with
|
91
91
|
those enforcing the Code of Conduct, for a specified period of time. This
|
92
92
|
includes avoiding interactions in community spaces as well as external channels
|
93
|
-
like social media. Violating these terms may lead to a temporary or
|
94
|
-
|
93
|
+
like social media. Violating these terms may lead to a temporary or permanent
|
94
|
+
ban.
|
95
95
|
|
96
96
|
### 3. Temporary Ban
|
97
97
|
|
@@ -107,27 +107,29 @@ Violating these terms may lead to a permanent ban.
|
|
107
107
|
### 4. Permanent Ban
|
108
108
|
|
109
109
|
**Community Impact**: Demonstrating a pattern of violation of community
|
110
|
-
standards, including sustained inappropriate behavior,
|
110
|
+
standards, including sustained inappropriate behavior, harassment of an
|
111
111
|
individual, or aggression toward or disparagement of classes of individuals.
|
112
112
|
|
113
|
-
**Consequence**: A permanent ban from any sort of public interaction within
|
114
|
-
|
113
|
+
**Consequence**: A permanent ban from any sort of public interaction within the
|
114
|
+
community.
|
115
115
|
|
116
116
|
## Attribution
|
117
117
|
|
118
118
|
This Code of Conduct is adapted from the [Contributor Covenant][homepage],
|
119
|
-
version 2.
|
120
|
-
[https://www.contributor-covenant.org/version/2/
|
119
|
+
version 2.1, available at
|
120
|
+
[https://www.contributor-covenant.org/version/2/1/code_of_conduct.html][v2.1].
|
121
121
|
|
122
122
|
Community Impact Guidelines were inspired by
|
123
123
|
[Mozilla's code of conduct enforcement ladder][Mozilla CoC].
|
124
124
|
|
125
125
|
For answers to common questions about this code of conduct, see the FAQ at
|
126
|
-
[https://www.contributor-covenant.org/faq][FAQ]. Translations are available
|
127
|
-
|
126
|
+
[https://www.contributor-covenant.org/faq][FAQ]. Translations are available at
|
127
|
+
[https://www.contributor-covenant.org/translations][translations].
|
128
128
|
|
129
129
|
[homepage]: https://www.contributor-covenant.org
|
130
|
-
[v2.
|
130
|
+
[v2.1]: https://www.contributor-covenant.org/version/2/1/code_of_conduct.html
|
131
131
|
[Mozilla CoC]: https://github.com/mozilla/diversity
|
132
132
|
[FAQ]: https://www.contributor-covenant.org/faq
|
133
133
|
[translations]: https://www.contributor-covenant.org/translations
|
134
|
+
[🚂bdfl-contact]: http://www.railsbling.com/contact
|
135
|
+
[🚂bdfl-contact-img]: https://img.shields.io/badge/Contact-BDFL-0093D0.svg?style=flat&logo=rubyonrails&logoColor=red
|
data/CONTRIBUTING.md
CHANGED
@@ -1,44 +1,44 @@
|
|
1
1
|
# Contributing
|
2
2
|
|
3
|
-
Bug reports and pull requests are welcome on GitHub at [https://github.com/omniauth/omniauth-identity][🚎src-main]
|
4
|
-
|
3
|
+
Bug reports and pull requests are welcome on GitHub at [https://github.com/omniauth/omniauth-identity][🚎src-main].
|
4
|
+
This project should be a safe, welcoming space for collaboration, so contributors agree to adhere to
|
5
5
|
the [code of conduct][🤝conduct].
|
6
6
|
|
7
|
-
To submit a patch, please fork the project
|
8
|
-
Once you're happy with it send a pull request.
|
7
|
+
To submit a patch, please fork the project, create a patch with tests, and send a pull request.
|
9
8
|
|
10
|
-
|
9
|
+
Remember to [![Keep A Changelog][📗keep-changelog-img]][📗keep-changelog].
|
11
10
|
|
12
|
-
##
|
11
|
+
## Help out!
|
13
12
|
|
14
13
|
Take a look at the `reek` list which is the file called `REEK` and find something to improve.
|
15
14
|
|
16
|
-
|
15
|
+
Follow these instructions:
|
17
16
|
|
18
17
|
1. Fork the repository
|
19
|
-
2. Create
|
18
|
+
2. Create a feature branch (`git checkout -b my-new-feature`)
|
20
19
|
3. Make some fixes.
|
21
|
-
4. Commit
|
20
|
+
4. Commit changes (`git commit -am 'Added some feature'`)
|
22
21
|
5. Push to the branch (`git push origin my-new-feature`)
|
23
|
-
6. Make sure to add tests for it. This is important so
|
22
|
+
6. Make sure to add tests for it. This is important, so it doesn't break in a future release.
|
24
23
|
7. Create new Pull Request.
|
25
24
|
|
26
25
|
## Appraisals
|
27
26
|
|
28
27
|
From time to time the appraisal gemfiles in `gemfiles/` will need to be updated.
|
29
|
-
They are created and updated with the commands:
|
30
28
|
|
31
|
-
NOTE:
|
29
|
+
NOTE: The `eval_gemfile` feature comes from a [fork][🚎appraisal-fork] of Appraisal.
|
32
30
|
|
33
31
|
Please upvote the PR for `eval_gemfile` [support][🚎appraisal-eval-gemfile-pr]
|
34
32
|
|
33
|
+
Create or update them with the commands:
|
34
|
+
|
35
35
|
```shell
|
36
36
|
BUNDLE_GEMFILE=Appraisal.root.gemfile bundle
|
37
37
|
BUNDLE_GEMFILE=Appraisal.root.gemfile bundle exec appraisal update
|
38
38
|
bundle exec rake rubocop_gradual:autocorrect
|
39
39
|
```
|
40
40
|
|
41
|
-
When adding an appraisal to CI check the [runner tool cache][🏃♂️runner-tool-cache] to see which runner to use.
|
41
|
+
When adding an appraisal to CI, check the [runner tool cache][🏃♂️runner-tool-cache] to see which runner to use.
|
42
42
|
|
43
43
|
## The Reek List
|
44
44
|
|
@@ -52,7 +52,7 @@ bundle exec reek > REEK
|
|
52
52
|
|
53
53
|
## Run Tests
|
54
54
|
|
55
|
-
NOTE:
|
55
|
+
NOTE: To run *all* tests have the following databases installed, configured, and running.
|
56
56
|
|
57
57
|
1. [RethinkDB](https://rethinkdb.com), an open source, real-time, web database, [installed](https://rethinkdb.com/docs/install/) and [running](https://rethinkdb.com/docs/start-a-server/), e.g.
|
58
58
|
```bash
|
@@ -130,8 +130,6 @@ bundle exec rake rubocop_gradual:autocorrect
|
|
130
130
|
|
131
131
|
## Contributors
|
132
132
|
|
133
|
-
Your picture could be here!
|
134
|
-
|
135
133
|
[![Contributors][🖐contributors-img]][🖐contributors]
|
136
134
|
|
137
135
|
Made with [contributors-img][🖐contrib-rocks].
|
@@ -140,39 +138,39 @@ Made with [contributors-img][🖐contrib-rocks].
|
|
140
138
|
|
141
139
|
### One-time, Per-maintainer, Setup
|
142
140
|
|
143
|
-
**IMPORTANT**:
|
144
|
-
|
141
|
+
**IMPORTANT**: To sign a build,
|
142
|
+
a public key for signing gems will need to be picked up by the line in the
|
145
143
|
`gemspec` defining the `spec.cert_chain` (check the relevant ENV variables there).
|
146
|
-
All releases to RubyGems.org
|
144
|
+
All releases to RubyGems.org are signed releases.
|
147
145
|
See: [RubyGems Security Guide][🔒️rubygems-security-guide]
|
148
146
|
|
149
|
-
NOTE: To build without signing the gem
|
147
|
+
NOTE: To build without signing the gem set `SKIP_GEM_SIGNING` to any value in the environment.
|
150
148
|
|
151
149
|
### To release a new version:
|
152
150
|
|
153
|
-
1. Run `bin/setup && bin/rake` as a
|
151
|
+
1. Run `bin/setup && bin/rake` as a "test, coverage, & linting" sanity check
|
154
152
|
2. Update the version number in `version.rb`, and ensure `CHANGELOG.md` reflects changes
|
155
153
|
3. Run `bin/setup && bin/rake` again as a secondary check, and to update `Gemfile.lock`
|
156
154
|
4. Run `git commit -am "🔖 Prepare release v<VERSION>"` to commit the changes
|
157
|
-
5. Run `git push` to trigger the final CI pipeline before release,
|
158
|
-
- NOTE: Remember to [check the build][🧪build]
|
155
|
+
5. Run `git push` to trigger the final CI pipeline before release, and merge PRs
|
156
|
+
- NOTE: Remember to [check the build][🧪build].
|
159
157
|
6. Run `export GIT_TRUNK_BRANCH_NAME="$(git remote show origin | grep 'HEAD branch' | cut -d ' ' -f5)" && echo $GIT_TRUNK_BRANCH_NAME`
|
160
158
|
7. Run `git checkout $GIT_TRUNK_BRANCH_NAME`
|
161
|
-
8. Run `git pull origin $GIT_TRUNK_BRANCH_NAME` to ensure
|
159
|
+
8. Run `git pull origin $GIT_TRUNK_BRANCH_NAME` to ensure latest trunk code
|
162
160
|
9. Set `SOURCE_DATE_EPOCH` so `rake build` and `rake release` use same timestamp, and generate same checksums
|
163
161
|
- Run `export SOURCE_DATE_EPOCH=$EPOCHSECONDS && echo $SOURCE_DATE_EPOCH`
|
164
162
|
- If the echo above has no output, then it didn't work.
|
165
|
-
- Note
|
163
|
+
- Note: `zsh/datetime` module is needed, if running `zsh`.
|
166
164
|
- In older versions of `bash` you can use `date +%s` instead, i.e. `export SOURCE_DATE_EPOCH=$(date +%s) && echo $SOURCE_DATE_EPOCH`
|
167
165
|
10. Run `bundle exec rake build`
|
168
166
|
11. Run `bin/gem_checksums` (more context [1][🔒️rubygems-checksums-pr], [2][🔒️rubygems-guides-pr])
|
169
167
|
to create SHA-256 and SHA-512 checksums. This functionality is provided by the `stone_checksums`
|
170
168
|
[gem][💎stone_checksums].
|
171
|
-
-
|
169
|
+
- The script automatically commits but does not push the checksums
|
172
170
|
12. Run `bundle exec rake release` which will create a git tag for the version,
|
173
171
|
push git commits and tags, and push the `.gem` file to [rubygems.org][💎rubygems]
|
174
172
|
|
175
|
-
[🚎src-main]: https://github.com/omniauth/omniauth-identity
|
173
|
+
13. [🚎src-main]: https://github.com/omniauth/omniauth-identity
|
176
174
|
[🧪build]: https://github.com/omniauth/omniauth-identity/actions
|
177
175
|
[🤝conduct]: https://github.com/omniauth/omniauth-identity/blob/main/CODE_OF_CONDUCT.md
|
178
176
|
[🖐contrib-rocks]: https://contrib.rocks
|
@@ -185,8 +183,6 @@ NOTE: To build without signing the gem you must set `SKIP_GEM_SIGNING` to some v
|
|
185
183
|
[💎stone_checksums]: https://github.com/pboling/stone_checksums
|
186
184
|
[📗keep-changelog]: https://keepachangelog.com/en/1.0.0/
|
187
185
|
[📗keep-changelog-img]: https://img.shields.io/badge/keep--a--changelog-1.0.0-FFDD67.svg?style=flat
|
188
|
-
[📌semver-breaking]: https://github.com/semver/semver/issues/716#issuecomment-869336139
|
189
|
-
[📌major-versions-not-sacred]: https://tom.preston-werner.com/2022/05/23/major-version-numbers-are-not-sacred.html
|
190
186
|
[🚎appraisal-eval-gemfile-pr]: https://github.com/thoughtbot/appraisal/pull/248
|
191
187
|
[🚎appraisal-fork]: https://github.com/pboling/appraisal/tree/galtzo
|
192
188
|
[🏃♂️runner-tool-cache]: https://github.com/ruby/ruby-builder/releases/tag/toolcache
|
data/LICENSE.txt
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
MIT License
|
2
2
|
|
3
|
-
Copyright (c) 2021, 2024
|
3
|
+
Copyright (c) 2021, 2024-2025 Peter H. Boling, and omniauth-identity contributors
|
4
4
|
Copyright (c) 2020 Peter H. Boling, Andrew Roberts, and Jellybooks Ltd.
|
5
5
|
Copyright (c) 2010-2015 Michael Bleigh, and Intridea, Inc.
|
6
6
|
|
data/README.md
CHANGED
@@ -1,30 +1,22 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
[![CI Unsupported][🚎7-us-wfi]][🚎7-us-wf]
|
16
|
-
[![CI Ancient][🚎1-an-wfi]][🚎1-an-wf]
|
17
|
-
[![CI Test Coverage][🚎2-cov-wfi]][🚎2-cov-wf]
|
18
|
-
[![CI Style][🚎5-st-wfi]][🚎5-st-wf]
|
1
|
+
<p align="center">
|
2
|
+
<a href="https://discord.gg/3qme4XHNKN" target="_blank" rel="noopener">
|
3
|
+
<img width="124px" src="https://github.com/omniauth/omniauth-identity/raw/main/docs/images/logo/galtzo-floss-logos-original.svg?raw=true" alt="Galtzo.com Logo by Aboling0, CC BY-SA 4.0">
|
4
|
+
</a>
|
5
|
+
<a href="https://github.com/omniauth" target="_blank" rel="noopener">
|
6
|
+
<img src="https://github.com/omniauth/omniauth-identity/raw/main/docs/images/logo/omniauth-logo-182px.png?raw=true" alt="OmniAuth Logo possibly by Ted O'Meara, license unknown">
|
7
|
+
</a>
|
8
|
+
<a href="https://www.ruby-lang.org/" target="_blank" rel="noopener">
|
9
|
+
<img width="124px" src="https://github.com/omniauth/omniauth-identity/raw/main/docs/images/logo/ruby-logo-198px.svg?raw=true" alt="Yukihiro Matsumoto, Ruby Visual Identity Team, CC BY-SA 2.5">
|
10
|
+
</a>
|
11
|
+
</p>
|
12
|
+
|
13
|
+
# 🫵 OmniAuth::Identity
|
14
|
+
|
15
|
+
[![Version][👽versioni]][👽version] [![License: MIT][📄license-img]][📄license-ref] [![Downloads Rank][👽dl-ranki]][👽dl-rank] [![Open Source Helpers][👽oss-helpi]][👽oss-help] [![Depfu][🔑depfui♻️]][🔑depfu] [![Coveralls Test Coverage][🔑coveralls-img]][🔑coveralls] [![QLTY Test Coverage][🔑qlty-covi♻️]][🔑qlty-cov] [![CI Heads][🚎3-hd-wfi]][🚎3-hd-wf] [![CI Runtime Dependencies @ HEAD][🚎12-crh-wfi]][🚎12-crh-wf] [![CI Current][🚎11-c-wfi]][🚎11-c-wf] [![CI JRuby][🚎10-j-wfi]][🚎10-j-wf] [![CI Supported][🚎6-s-wfi]][🚎6-s-wf] [![CI Legacy][🚎4-lg-wfi]][🚎4-lg-wf] [![CI Unsupported][🚎7-us-wfi]][🚎7-us-wf] [![CI Ancient][🚎1-an-wfi]][🚎1-an-wf] [![CI Test Coverage][🚎2-cov-wfi]][🚎2-cov-wf] [![CI Style][🚎5-st-wfi]][🚎5-st-wf]
|
19
16
|
|
20
17
|
---
|
21
18
|
|
22
|
-
[![Liberapay
|
23
|
-
[![Sponsor Me on Github][🖇sponsor-img]][🖇sponsor]
|
24
|
-
[![Buy me a coffee][🖇buyme-small-img]][🖇buyme]
|
25
|
-
[![Donate on Polar][🖇polar-img]][🖇polar]
|
26
|
-
[![Donate to my FLOSS or refugee efforts at ko-fi.com][🖇kofi-img]][🖇kofi]
|
27
|
-
[![Donate to my FLOSS or refugee efforts using Patreon][🖇patreon-img]][🖇patreon]
|
19
|
+
[![Liberapay Goal Progress][⛳liberapay-img]][⛳liberapay] [![Sponsor Me on Github][🖇sponsor-img]][🖇sponsor] [![Buy me a coffee][🖇buyme-small-img]][🖇buyme] [![Donate on Polar][🖇polar-img]][🖇polar] [![Donate to my FLOSS or refugee efforts at ko-fi.com][🖇kofi-img]][🖇kofi] [![Donate to my FLOSS or refugee efforts using Patreon][🖇patreon-img]][🖇patreon]
|
28
20
|
|
29
21
|
The `omniauth-identity` gem provides a way for applications to utilize a
|
30
22
|
traditional username/password based authentication system without the need
|
@@ -34,18 +26,19 @@ basic construct for user management and then gets out of the way.
|
|
34
26
|
|
35
27
|
## 💡 Info you can shake a stick at
|
36
28
|
|
37
|
-
| Tokens to Remember
|
38
|
-
|
39
|
-
| Works with JRuby
|
40
|
-
| Works with MRI Ruby 3
|
41
|
-
| Works with MRI Ruby 2
|
42
|
-
| Source
|
43
|
-
| Documentation
|
44
|
-
| Compliance
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
29
|
+
| Tokens to Remember | [![Gem name][⛳️name-img]][⛳️gem-name] [![Gem namespace][⛳️namespace-img]][⛳️gem-namespace] |
|
30
|
+
|-----------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
31
|
+
| Works with JRuby | [![JRuby 9.2 Compat][💎jruby-9.2i]][🚎10-j-wf] [![JRuby 9.3 Compat][💎jruby-9.3i]][🚎10-j-wf] [![JRuby 9.4 Compat][💎jruby-9.4i]][🚎10-j-wf] [![JRuby 10.0 Compat][💎jruby-c-i]][🚎11-c-wf] [![JRuby HEAD Compat][💎jruby-headi]][🚎3-hd-wf] |
|
32
|
+
| Works with MRI Ruby 3 | [![Ruby 3.0 Compat][💎ruby-3.0i]][🚎4-lg-wf] [![Ruby 3.1 Compat][💎ruby-3.1i]][🚎6-s-wf] [![Ruby 3.2 Compat][💎ruby-3.2i]][🚎6-s-wf] [![Ruby 3.3 Compat][💎ruby-3.3i]][🚎6-s-wf] [![Ruby 3.4 Compat][💎ruby-c-i]][🚎11-c-wf] [![Ruby HEAD Compat][💎ruby-headi]][🚎3-hd-wf] |
|
33
|
+
| Works with MRI Ruby 2 | [![Ruby 2.4 Compat][💎ruby-2.4i]][🚎1-an-wf] [![Ruby 2.5 Compat][💎ruby-2.5i]][🚎1-an-wf] [![Ruby 2.6 Compat][💎ruby-2.6i]][🚎7-us-wf] [![Ruby 2.7 Compat][💎ruby-2.7i]][🚎7-us-wf] |
|
34
|
+
| Source | [![Source on Github.com][📜src-gh-img]][📜src-gh] [![The best SHA: dQw4w9WgXcQ!][🧮kloc-img]][🧮kloc] |
|
35
|
+
| Documentation | [![Current release on RubyDoc.info][📜docs-cr-rd-img]][🚎yard-current] [![YARD on Galtzo.com][📜docs-head-rd-img]][🚎yard-head] [![BDFL Blog][🚂bdfl-blog-img]][🚂bdfl-blog] [![Wiki][📜wiki-img]][📜wiki] |
|
36
|
+
| Compliance | [![License: MIT][📄license-img]][📄license-ref] [![📄ilo-declaration-img]][📄ilo-declaration] [![Security Policy][🔐security-img]][🔐security] [![Contributor Covenant 2.1][🪇conduct-img]][🪇conduct] [![SemVer 2.0.0][📌semver-img]][📌semver] |
|
37
|
+
| Style | [![Enforced Code Style Linter][💎rlts-img]][💎rlts] [![Keep-A-Changelog 1.0.0][📗keep-changelog-img]][📗keep-changelog] [![Gitmoji Commits][📌gitmoji-img]][📌gitmoji] |
|
38
|
+
| Support | [![Live Chat on Discord][✉️discord-invite-img]][✉️discord-invite] [![Get help from me on Upwork][👨🏼🏫expsup-upwork-img]][👨🏼🏫expsup-upwork] [![Get help from me on Codementor][👨🏼🏫expsup-codementor-img]][👨🏼🏫expsup-codementor] |
|
39
|
+
| Enterprise Support | [![Get help from me on Tidelift][🏙️entsup-tidelift-img]][🏙️entsup-tidelift]<br/>💡Subscribe for support guarantees covering _all_ FLOSS dependencies!<br/>💡Tidelift is part of [Sonar][🏙️entsup-tidelift-sonar]!<br/>💡Tidelift pays maintainers to maintain the software you depend on!<br/>📊`@`Pointy Haired Boss: An [enterprise support][🏙️entsup-tidelift] subscription is "[never gonna let you down][🧮kloc]", and *supports* open source maintainers! |
|
40
|
+
| Comrade BDFL 🎖️ | [![Follow Me on LinkedIn][💖🖇linkedin-img]][💖🖇linkedin] [![Follow Me on Ruby.Social][💖🐘ruby-mast-img]][💖🐘ruby-mast] [![Follow Me on Bluesky][💖🦋bluesky-img]][💖🦋bluesky] [![Contact BDFL][🚂bdfl-contact-img]][🚂bdfl-contact] [![My technical writing][💖💁🏼♂️devto-img]][💖💁🏼♂️devto] |
|
41
|
+
| `...` 💖 | [![Find Me on WellFound:][💖✌️wellfound-img]][💖✌️wellfound] [![Find Me on CrunchBase][💖💲crunchbase-img]][💖💲crunchbase] [![My LinkTree][💖🌳linktree-img]][💖🌳linktree] [![More About Me][💖💁🏼♂️aboutme-img]][💖💁🏼♂️aboutme] [🧊][💖🧊berg] [🐙][💖🐙hub] [🛖][💖🛖hut] [🧪][💖🧪lab] |
|
49
42
|
|
50
43
|
## ✨ Installation
|
51
44
|
|
@@ -91,15 +84,16 @@ NOTE: Be prepared to track down certs for signed gems and add them the same way
|
|
91
84
|
|
92
85
|
This gem is compatible with a wide range of Ruby versions and Ruby ORMs, as of May 2025, version 3.1.
|
93
86
|
|
94
|
-
* Latest released version of omniauth, v2+
|
95
87
|
* Tested in CI against:
|
96
88
|
* Ruby 2.4, 2.5, 2.6, 2.7, 3.0, 3.1, 3.2, 3.3, 3.4, ruby-head
|
97
89
|
* JRuby 9.2, 9.3, 9.4, 10.0, jruby-head
|
98
|
-
*
|
99
|
-
*
|
100
|
-
*
|
90
|
+
* omniauth 1.0, 1.1, 1.2, 1.3, 1.4, 1.5, 1.6, 1.7, 1.8, 1.9, 2.0, 2.1, HEAD
|
91
|
+
* activerecord 5.2, 6.0, 6.1, 7.0, 7.1, 7.2, 8.0, HEAD
|
92
|
+
* sqlite3 1.2, 1.3, 1.4, 1.5, 1.6, 1.7, 2.0, 2.1
|
93
|
+
* couch_potato 1.17+
|
101
94
|
* mongoid 7.3, 7.4, 8.1, 9.0
|
102
|
-
*
|
95
|
+
* bson 4.12, 4.15, 5.0, HEAD
|
96
|
+
* sequel 5.86+
|
103
97
|
* At least 5 different database ORM adapters, which connect to 15 different database clients!
|
104
98
|
|
105
99
|
| Databases | Adapter Libraries |
|
@@ -347,21 +341,25 @@ See [SECURITY.md][🔐security].
|
|
347
341
|
## 🤝 Contributing
|
348
342
|
|
349
343
|
If you need some ideas of where to help, you could work on adding more code coverage,
|
350
|
-
or if it is already 💯 (see [below](#code-coverage))
|
344
|
+
or if it is already 💯 (see [below](#code-coverage)) check [issues][🤝gh-issues], or [PRs][🤝gh-pulls],
|
351
345
|
or use the gem and think about how it could be better.
|
352
346
|
|
353
347
|
We [![Keep A Changelog][📗keep-changelog-img]][📗keep-changelog] so if you make changes, remember to update it.
|
354
348
|
|
355
349
|
See [CONTRIBUTING.md][🤝contributing] for more detailed instructions.
|
356
350
|
|
351
|
+
### 🚀 Release Instructions
|
352
|
+
|
353
|
+
See [CONTRIBUTING.md][🤝contributing].
|
354
|
+
|
357
355
|
### Code Coverage
|
358
356
|
|
359
|
-
[![Coverage
|
357
|
+
[![Coveralls Test Coverage][🔑coveralls-img]][🔑coveralls]
|
360
358
|
|
361
359
|
### 🪇 Code of Conduct
|
362
360
|
|
363
|
-
Everyone interacting
|
364
|
-
chat rooms and mailing lists
|
361
|
+
Everyone interacting with this project's codebases, issue trackers,
|
362
|
+
chat rooms and mailing lists agrees to follow the [![Contributor Covenant 2.1][🪇conduct-img]][🪇conduct].
|
365
363
|
|
366
364
|
## 🌈 Contributors
|
367
365
|
|
@@ -373,8 +371,10 @@ Made with [contributors-img][🖐contrib-rocks].
|
|
373
371
|
|
374
372
|
<a href="https://star-history.com/#omniauth/omniauth-identity&Date">
|
375
373
|
<picture>
|
376
|
-
|
377
|
-
|
374
|
+
<source media="(prefers-color-scheme: dark)"
|
375
|
+
srcset="https://api.star-history.com/svg?repos=omniauth/omniauth-identity&type=Date&theme=dark"/>
|
376
|
+
<source media="(prefers-color-scheme: light)"
|
377
|
+
srcset="https://api.star-history.com/svg?repos=omniauth/omniauth-identity&type=Date"/>
|
378
378
|
<img alt="Star History Chart" src="https://api.star-history.com/svg?repos=omniauth/omniauth-identity&type=Date" />
|
379
379
|
</picture>
|
380
380
|
</a>
|
@@ -414,7 +414,7 @@ For example:
|
|
414
414
|
spec.add_dependency("omniauth-identity", "~> 3.1")
|
415
415
|
```
|
416
416
|
|
417
|
-
See [CHANGELOG.md][📌changelog] for list of releases.
|
417
|
+
See [CHANGELOG.md][📌changelog] for a list of releases.
|
418
418
|
|
419
419
|
## 📄 License
|
420
420
|
|
@@ -426,16 +426,16 @@ See [LICENSE.txt][📄license] for the official [Copyright Notice][📄copyright
|
|
426
426
|
|
427
427
|
<ul>
|
428
428
|
<li>
|
429
|
-
Copyright (c) 2021, 2024
|
430
|
-
<a href="https://
|
431
|
-
|
429
|
+
Copyright (c) 2021, 2024-2025 Peter H. Boling, of
|
430
|
+
<a href="https://discord.gg/3qme4XHNKN">
|
431
|
+
Galtzo.com
|
432
432
|
<picture>
|
433
|
-
|
433
|
+
<img src="https://github.com/omniauth/omniauth-identity/raw/main/docs/images/logo/galtzo-floss-logos-wordless.svg?raw=true" alt="Galtzo.com Logo by Aboling0, CC BY-SA 4.0" width="24">
|
434
434
|
</picture>
|
435
|
-
</a>, and
|
435
|
+
</a>, and omniauth-identity contributors
|
436
436
|
</li>
|
437
437
|
<li>
|
438
|
-
Copyright (c) 2020 Peter H.
|
438
|
+
Copyright (c) 2020 Peter H. Boling, Andrew Roberts, and Jellybooks Ltd.
|
439
439
|
</li>
|
440
440
|
<li>
|
441
441
|
Copyright (c) 2010-2015 Michael Bleigh, and Intridea, Inc.
|
@@ -444,15 +444,34 @@ See [LICENSE.txt][📄license] for the official [Copyright Notice][📄copyright
|
|
444
444
|
|
445
445
|
## 🤑 One more thing
|
446
446
|
|
447
|
-
|
448
|
-
|
449
|
-
|
450
|
-
|
451
|
-
|
452
|
-
or one of the others at the head of this README.
|
447
|
+
Having arrived at the bottom of the page, please endure a final supplication.
|
448
|
+
The primary maintainer of this gem, Peter Boling, wants
|
449
|
+
Ruby to be a great place for people to solve problems, big and small.
|
450
|
+
Please consider supporting his efforts via the giant yellow link below,
|
451
|
+
or one of smaller ones, depending on button size preference.
|
453
452
|
|
454
453
|
[![Buy me a latte][🖇buyme-img]][🖇buyme]
|
455
454
|
|
455
|
+
[![Liberapay Goal Progress][⛳liberapay-img]][⛳liberapay] [![Sponsor Me on Github][🖇sponsor-img]][🖇sponsor] [![Donate on Polar][🖇polar-img]][🖇polar] [![Donate to my FLOSS or refugee efforts at ko-fi.com][🖇kofi-img]][🖇kofi] [![Donate to my FLOSS or refugee efforts using Patreon][🖇patreon-img]][🖇patreon]
|
456
|
+
|
457
|
+
P.S. Use the gem => Discord for help
|
458
|
+
|
459
|
+
[![Live Chat on Discord][✉️discord-invite-img]][✉️discord-invite]
|
460
|
+
|
461
|
+
[⛳liberapay-img]: https://img.shields.io/liberapay/goal/pboling.svg?logo=liberapay
|
462
|
+
[⛳liberapay]: https://liberapay.com/pboling/donate
|
463
|
+
[🖇sponsor-img]: https://img.shields.io/badge/Sponsor_Me!-pboling.svg?style=social&logo=github
|
464
|
+
[🖇sponsor]: https://github.com/sponsors/pboling
|
465
|
+
[🖇polar-img]: https://img.shields.io/badge/polar-donate-yellow.svg
|
466
|
+
[🖇polar]: https://polar.sh/pboling
|
467
|
+
[🖇kofi-img]: https://img.shields.io/badge/a_more_different_coffee-✓-yellow.svg
|
468
|
+
[🖇kofi]: https://ko-fi.com/O5O86SNP4
|
469
|
+
[🖇patreon-img]: https://img.shields.io/badge/patreon-donate-yellow.svg
|
470
|
+
[🖇patreon]: https://patreon.com/galtzo
|
471
|
+
[🖇buyme-small-img]: https://img.shields.io/badge/buy_me_a_coffee-✓-yellow.svg?style=flat
|
472
|
+
[🖇buyme-img]: https://img.buymeacoffee.com/button-api/?text=Buy%20me%20a%20latte&emoji=&slug=pboling&button_colour=FFDD00&font_colour=000000&font_family=Cookie&outline_colour=000000&coffee_colour=ffffff
|
473
|
+
[🖇buyme]: https://www.buymeacoffee.com/pboling
|
474
|
+
|
456
475
|
[✇bundle-group-pattern]: https://gist.github.com/pboling/4564780
|
457
476
|
[⛳️gem-namespace]: https://github.com/omniauth/omniauth-identity
|
458
477
|
[⛳️namespace-img]: https://img.shields.io/badge/namespace-OmniAuth%3A%3AIdentity-brightgreen.svg?style=flat&logo=ruby&logoColor=white
|
@@ -498,7 +517,7 @@ or one of the others at the head of this README.
|
|
498
517
|
[📜src-gh-img]: https://img.shields.io/badge/GitHub-238636?style=for-the-badge&logo=Github&logoColor=green
|
499
518
|
[📜src-gh]: https://github.com/omniauth/omniauth-identity
|
500
519
|
[📜docs-cr-rd-img]: https://img.shields.io/badge/RubyDoc-Current_Release-943CD2?style=for-the-badge&logo=readthedocs&logoColor=white
|
501
|
-
[📜docs-head-rd-img]: https://img.shields.io/badge/
|
520
|
+
[📜docs-head-rd-img]: https://img.shields.io/badge/YARD_on_Galtzo.com-HEAD-943CD2?style=for-the-badge&logo=readthedocs&logoColor=white
|
502
521
|
[📜wiki]: https://github.com/omniauth/omniauth-identity/wiki
|
503
522
|
[📜wiki-img]: https://img.shields.io/badge/wiki-examples-943CD2.svg?style=for-the-badge&logo=Wiki&logoColor=white
|
504
523
|
[👽dl-rank]: https://rubygems.org/gems/omniauth-identity
|
@@ -507,6 +526,10 @@ or one of the others at the head of this README.
|
|
507
526
|
[👽oss-helpi]: https://www.codetriage.com/omniauth/omniauth-identity/badges/users.svg
|
508
527
|
[👽version]: https://rubygems.org/gems/omniauth-identity
|
509
528
|
[👽versioni]: https://img.shields.io/gem/v/omniauth-identity.svg
|
529
|
+
[🔑qlty-mnt]: https://qlty.sh/gh/omniauth/projects/omniauth-identity
|
530
|
+
[🔑qlty-mnti♻️]: https://qlty.sh/badges/c2eb0211-c105-4fc6-9b36-650307c67e06/maintainability.svg
|
531
|
+
[🔑qlty-cov]: https://qlty.sh/gh/omniauth/projects/omniauth-identity
|
532
|
+
[🔑qlty-covi♻️]: https://qlty.sh/badges/c2eb0211-c105-4fc6-9b36-650307c67e06/test_coverage.svg
|
510
533
|
[🔑codecov]: https://codecov.io/gh/omniauth/omniauth-identity
|
511
534
|
[🔑codecovi♻️]: https://codecov.io/gh/omniauth/omniauth-identity/branch/main/graph/badge.svg?token=cc6UdZCpAL
|
512
535
|
[🔑coveralls]: https://coveralls.io/github/omniauth/omniauth-identity?branch=main
|
@@ -537,19 +560,8 @@ or one of the others at the head of this README.
|
|
537
560
|
[🚎10-j-wfi]: https://github.com/omniauth/omniauth-identity/actions/workflows/jruby.yml/badge.svg
|
538
561
|
[🚎11-c-wf]: https://github.com/omniauth/omniauth-identity/actions/workflows/current.yml
|
539
562
|
[🚎11-c-wfi]: https://github.com/omniauth/omniauth-identity/actions/workflows/current.yml/badge.svg
|
540
|
-
[
|
541
|
-
[
|
542
|
-
[🖇sponsor-img]: https://img.shields.io/badge/Sponsor_Me!-pboling.svg?style=social&logo=github
|
543
|
-
[🖇sponsor]: https://github.com/sponsors/pboling
|
544
|
-
[🖇polar-img]: https://img.shields.io/badge/polar-donate-yellow.svg
|
545
|
-
[🖇polar]: https://polar.sh/pboling
|
546
|
-
[🖇kofi-img]: https://img.shields.io/badge/a_more_different_coffee-✓-yellow.svg
|
547
|
-
[🖇kofi]: https://ko-fi.com/O5O86SNP4
|
548
|
-
[🖇patreon-img]: https://img.shields.io/badge/patreon-donate-yellow.svg
|
549
|
-
[🖇patreon]: https://patreon.com/galtzo
|
550
|
-
[🖇buyme-img]: https://img.buymeacoffee.com/button-api/?text=Buy%20me%20a%20latte&emoji=&slug=pboling&button_colour=FFDD00&font_colour=000000&font_family=Cookie&outline_colour=000000&coffee_colour=ffffff
|
551
|
-
[🖇buyme]: https://www.buymeacoffee.com/pboling
|
552
|
-
[🖇buyme-small-img]: https://img.shields.io/badge/buy_me_a_coffee-✓-yellow.svg?style=flat
|
563
|
+
[🚎12-crh-wf]: https://github.com/omniauth/omniauth-identity/actions/workflows/current-runtime-heads.yml
|
564
|
+
[🚎12-crh-wfi]: https://github.com/omniauth/omniauth-identity/actions/workflows/current-runtime-heads.yml/badge.svg
|
553
565
|
[💎ruby-2.3i]: https://img.shields.io/badge/Ruby-2.3-DF00CA?style=for-the-badge&logo=ruby&logoColor=white
|
554
566
|
[💎ruby-2.4i]: https://img.shields.io/badge/Ruby-2.4-DF00CA?style=for-the-badge&logo=ruby&logoColor=white
|
555
567
|
[💎ruby-2.5i]: https://img.shields.io/badge/Ruby-2.5-DF00CA?style=for-the-badge&logo=ruby&logoColor=white
|
@@ -571,8 +583,8 @@ or one of the others at the head of this README.
|
|
571
583
|
[💎jruby-9.4i]: https://img.shields.io/badge/JRuby-9.4-FBE742?style=for-the-badge&logo=ruby&logoColor=red
|
572
584
|
[💎jruby-c-i]: https://img.shields.io/badge/JRuby-current-FBE742?style=for-the-badge&logo=ruby&logoColor=green
|
573
585
|
[💎jruby-headi]: https://img.shields.io/badge/JRuby-HEAD-FBE742?style=for-the-badge&logo=ruby&logoColor=blue
|
574
|
-
[🤝issues]: https://github.com/omniauth/omniauth-identity/issues
|
575
|
-
[🤝pulls]: https://github.com/omniauth/omniauth-identity/pulls
|
586
|
+
[🤝gh-issues]: https://github.com/omniauth/omniauth-identity/issues
|
587
|
+
[🤝gh-pulls]: https://github.com/omniauth/omniauth-identity/pulls
|
576
588
|
[🤝contributing]: CONTRIBUTING.md
|
577
589
|
[🔑codecov-g♻️]: https://codecov.io/gh/omniauth/omniauth-identity/graphs/tree.svg?token=cc6UdZCpAL
|
578
590
|
[🖐contrib-rocks]: https://contrib.rocks
|
@@ -580,28 +592,47 @@ or one of the others at the head of this README.
|
|
580
592
|
[🖐contributors-img]: https://contrib.rocks/image?repo=omniauth/omniauth-identity
|
581
593
|
[🚎contributors-gl]: https://gitlab.com/omniauth/omniauth-identity/-/graphs/main
|
582
594
|
[🪇conduct]: CODE_OF_CONDUCT.md
|
583
|
-
[🪇conduct-img]: https://img.shields.io/badge/Contributor_Covenant-2.1-
|
595
|
+
[🪇conduct-img]: https://img.shields.io/badge/Contributor_Covenant-2.1-259D6C.svg
|
584
596
|
[📌pvc]: http://guides.rubygems.org/patterns/#pessimistic-version-constraint
|
585
597
|
[📌semver]: https://semver.org/spec/v2.0.0.html
|
586
|
-
[📌semver-img]: https://img.shields.io/badge/semver-2.0.0-
|
598
|
+
[📌semver-img]: https://img.shields.io/badge/semver-2.0.0-259D6C.svg?style=flat
|
587
599
|
[📌semver-breaking]: https://github.com/semver/semver/issues/716#issuecomment-869336139
|
588
600
|
[📌major-versions-not-sacred]: https://tom.preston-werner.com/2022/05/23/major-version-numbers-are-not-sacred.html
|
589
601
|
[📌changelog]: CHANGELOG.md
|
590
602
|
[📗keep-changelog]: https://keepachangelog.com/en/1.0.0/
|
591
|
-
[📗keep-changelog-img]: https://img.shields.io/badge/keep--a--changelog-1.0.0-
|
603
|
+
[📗keep-changelog-img]: https://img.shields.io/badge/keep--a--changelog-1.0.0-34495e.svg?style=flat
|
592
604
|
[📌gitmoji]:https://gitmoji.dev
|
593
|
-
[📌gitmoji-img]:https://img.shields.io/badge/
|
605
|
+
[📌gitmoji-img]:https://img.shields.io/badge/gitmoji_commits-%20😜%20😍-34495e.svg?style=flat-square
|
594
606
|
[🧮kloc]: https://www.youtube.com/watch?v=dQw4w9WgXcQ
|
595
|
-
[🧮kloc-img]: https://img.shields.io/badge/KLOC-0.
|
607
|
+
[🧮kloc-img]: https://img.shields.io/badge/KLOC-0.378-FFDD67.svg?style=for-the-badge&logo=YouTube&logoColor=blue
|
596
608
|
[🔐security]: SECURITY.md
|
597
|
-
[🔐security-img]: https://img.shields.io/badge/security-policy-
|
609
|
+
[🔐security-img]: https://img.shields.io/badge/security-policy-259D6C.svg?style=flat
|
598
610
|
[📄copyright-notice-explainer]: https://opensource.stackexchange.com/questions/5778/why-do-licenses-such-as-the-mit-license-specify-a-single-year
|
599
611
|
[📄license]: LICENSE.txt
|
600
612
|
[📄license-ref]: https://opensource.org/licenses/MIT
|
601
|
-
[📄license-img]: https://img.shields.io/badge/License-MIT-
|
613
|
+
[📄license-img]: https://img.shields.io/badge/License-MIT-259D6C.svg
|
602
614
|
[📄ilo-declaration]: https://www.ilo.org/declaration/lang--en/index.htm
|
603
|
-
[📄ilo-declaration-img]: https://img.shields.io/badge/ILO_Fundamental_Principles-✓-
|
615
|
+
[📄ilo-declaration-img]: https://img.shields.io/badge/ILO_Fundamental_Principles-✓-259D6C.svg?style=flat
|
604
616
|
[🚎yard-current]: http://rubydoc.info/gems/omniauth-identity
|
605
|
-
[🚎yard-head]: https://
|
617
|
+
[🚎yard-head]: https://omniauth-identity.galtzo.com
|
606
618
|
[💎stone_checksums]: https://github.com/pboling/stone_checksums
|
607
619
|
[💎SHA_checksums]: https://github.com/omniauth/omniauth-identity/tree/main/checksums
|
620
|
+
[💎rlts]: https://github.com/rubocop-lts/rubocop-lts
|
621
|
+
[💎rlts-img]: https://img.shields.io/badge/code_style_%26_linting-rubocop--lts-34495e.svg?plastic&logo=ruby&logoColor=white
|
622
|
+
[✉️discord-invite]: https://discord.gg/3qme4XHNKN
|
623
|
+
[✉️discord-invite-img]: https://img.shields.io/discord/1373797679469170758?style=for-the-badge
|
624
|
+
|
625
|
+
<details>
|
626
|
+
<summary>
|
627
|
+
Disabled Badges
|
628
|
+
</summary>
|
629
|
+
|
630
|
+
Badges for failing services.
|
631
|
+
Bug reports filed.
|
632
|
+
Once fixed, these should look much nicer.
|
633
|
+
|
634
|
+
[![QLTY Maintainability][🔑qlty-mnti♻️]][🔑qlty-mnt]
|
635
|
+
[![CodeCov Test Coverage][🔑codecovi♻️]][🔑codecov]
|
636
|
+
[![Coverage Graph][🔑codecov-g♻️]][🔑codecov]
|
637
|
+
|
638
|
+
</details>
|
data/SECURITY.md
CHANGED
@@ -18,8 +18,28 @@ Tidelift will coordinate the fix and disclosure.
|
|
18
18
|
|
19
19
|
## Additional Support
|
20
20
|
|
21
|
-
|
22
|
-
|
23
|
-
or find other sponsorship links in the [README].
|
21
|
+
Interested in support for versions older than the latest release?
|
22
|
+
Consider sponsoring the project / maintainer.
|
24
23
|
|
25
|
-
[
|
24
|
+
[![Liberapay Goal Progress][⛳liberapay-img]][⛳liberapay] [![Sponsor Me on Github][🖇sponsor-img]][🖇sponsor] [![Buy me a coffee][🖇buyme-small-img]][🖇buyme] [![Donate on Polar][🖇polar-img]][🖇polar] [![Donate to my FLOSS or refugee efforts at ko-fi.com][🖇kofi-img]][🖇kofi] [![Donate to my FLOSS or refugee efforts using Patreon][🖇patreon-img]][🖇patreon]
|
25
|
+
|
26
|
+
[⛳liberapay-img]: https://img.shields.io/liberapay/goal/pboling.svg?logo=liberapay
|
27
|
+
[⛳liberapay]: https://liberapay.com/pboling/donate
|
28
|
+
[🖇sponsor-img]: https://img.shields.io/badge/Sponsor_Me!-pboling.svg?style=social&logo=github
|
29
|
+
[🖇sponsor]: https://github.com/sponsors/pboling
|
30
|
+
[🖇polar-img]: https://img.shields.io/badge/polar-donate-yellow.svg
|
31
|
+
[🖇polar]: https://polar.sh/pboling
|
32
|
+
[🖇kofi-img]: https://img.shields.io/badge/a_more_different_coffee-✓-yellow.svg
|
33
|
+
[🖇kofi]: https://ko-fi.com/O5O86SNP4
|
34
|
+
[🖇patreon-img]: https://img.shields.io/badge/patreon-donate-yellow.svg
|
35
|
+
[🖇patreon]: https://patreon.com/galtzo
|
36
|
+
[🖇buyme]: https://www.buymeacoffee.com/pboling
|
37
|
+
[🖇buyme-small-img]: https://img.shields.io/badge/buy_me_a_coffee-✓-yellow.svg?style=flat
|
38
|
+
|
39
|
+
## Enterprise Support
|
40
|
+
|
41
|
+
Available as part of the Tidelift Subscription.
|
42
|
+
|
43
|
+
The maintainers of this library and thousands of other packages are working with Tidelift to deliver commercial support and maintenance for the open source packages you use to build your applications. Save time, reduce risk, and improve code health, while paying the maintainers for the exact packages you use. [Learn more.][tidelift-ref]
|
44
|
+
|
45
|
+
[tidelift-ref]: https://tidelift.com/subscription/pkg/rubygems-omniauth-identity?utm_source=rubygems-omniauth-identity&utm_medium=referral&utm_campaign=enterprise&utm_term=repo
|
data/lib/omniauth/identity.rb
CHANGED
@@ -8,7 +8,7 @@ unless defined?(OmniAuth::Identity::Version::VERSION)
|
|
8
8
|
# this library's version
|
9
9
|
require "omniauth/identity/version"
|
10
10
|
|
11
|
-
#
|
11
|
+
# Configure version before loading the rest of the library
|
12
12
|
OmniAuth::Identity::Version.class_eval do
|
13
13
|
extend VersionGem::Basic
|
14
14
|
end
|
@@ -52,9 +52,9 @@ module OmniAuth
|
|
52
52
|
elsif options[:enable_login] && on_request_path?
|
53
53
|
# OmniAuth, by default, disables "GET" requests for security reasons.
|
54
54
|
# This effectively disables omniauth-identity tool's login form feature.
|
55
|
-
# Because it is disabled by default, and because enabling it would
|
56
|
-
# OmniAuth strategies that
|
57
|
-
# Instead we
|
55
|
+
# Because it is disabled by default, and because enabling it globally would affect the security of all
|
56
|
+
# other OmniAuth strategies that are present, we do not ask users to modify that setting.
|
57
|
+
# Instead, we use this hook in the "other_phase", with a config setting of our own: `enable_login`
|
58
58
|
request_phase
|
59
59
|
else
|
60
60
|
call_app!
|
data/lib/omniauth-identity.rb
CHANGED
@@ -6,7 +6,7 @@ require "version_gem"
|
|
6
6
|
# this library's version
|
7
7
|
require "omniauth/identity/version"
|
8
8
|
|
9
|
-
#
|
9
|
+
# Configure version before loading the rest of the library
|
10
10
|
OmniAuth::Identity::Version.class_eval do
|
11
11
|
extend VersionGem::Basic
|
12
12
|
end
|
data.tar.gz.sig
CHANGED
Binary file
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: omniauth-identity
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.1.
|
4
|
+
version: 3.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Peter Boling
|
@@ -37,7 +37,7 @@ cert_chain:
|
|
37
37
|
DVjBtqT23eugOqQ73umLcYDZkc36vnqGxUBSsXrzY9pzV5gGr2I8YUxMqf6ATrZt
|
38
38
|
L9nRqA==
|
39
39
|
-----END CERTIFICATE-----
|
40
|
-
date: 2025-
|
40
|
+
date: 2025-06-08 00:00:00.000000000 Z
|
41
41
|
dependencies:
|
42
42
|
- !ruby/object:Gem::Dependency
|
43
43
|
name: bcrypt
|
@@ -85,22 +85,22 @@ dependencies:
|
|
85
85
|
name: version_gem
|
86
86
|
requirement: !ruby/object:Gem::Requirement
|
87
87
|
requirements:
|
88
|
-
- - "~>"
|
89
|
-
- !ruby/object:Gem::Version
|
90
|
-
version: '1.1'
|
91
88
|
- - ">="
|
92
89
|
- !ruby/object:Gem::Version
|
93
90
|
version: 1.1.8
|
91
|
+
- - "<"
|
92
|
+
- !ruby/object:Gem::Version
|
93
|
+
version: '3'
|
94
94
|
type: :runtime
|
95
95
|
prerelease: false
|
96
96
|
version_requirements: !ruby/object:Gem::Requirement
|
97
97
|
requirements:
|
98
|
-
- - "~>"
|
99
|
-
- !ruby/object:Gem::Version
|
100
|
-
version: '1.1'
|
101
98
|
- - ">="
|
102
99
|
- !ruby/object:Gem::Version
|
103
100
|
version: 1.1.8
|
101
|
+
- - "<"
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: '3'
|
104
104
|
- !ruby/object:Gem::Dependency
|
105
105
|
name: activerecord
|
106
106
|
requirement: !ruby/object:Gem::Requirement
|
@@ -155,28 +155,28 @@ dependencies:
|
|
155
155
|
requirements:
|
156
156
|
- - "~>"
|
157
157
|
- !ruby/object:Gem::Version
|
158
|
-
version: '13'
|
158
|
+
version: '13.0'
|
159
159
|
type: :development
|
160
160
|
prerelease: false
|
161
161
|
version_requirements: !ruby/object:Gem::Requirement
|
162
162
|
requirements:
|
163
163
|
- - "~>"
|
164
164
|
- !ruby/object:Gem::Version
|
165
|
-
version: '13'
|
165
|
+
version: '13.0'
|
166
166
|
- !ruby/object:Gem::Dependency
|
167
167
|
name: rspec
|
168
168
|
requirement: !ruby/object:Gem::Requirement
|
169
169
|
requirements:
|
170
170
|
- - "~>"
|
171
171
|
- !ruby/object:Gem::Version
|
172
|
-
version: '3'
|
172
|
+
version: '3.13'
|
173
173
|
type: :development
|
174
174
|
prerelease: false
|
175
175
|
version_requirements: !ruby/object:Gem::Requirement
|
176
176
|
requirements:
|
177
177
|
- - "~>"
|
178
178
|
- !ruby/object:Gem::Version
|
179
|
-
version: '3'
|
179
|
+
version: '3.13'
|
180
180
|
- !ruby/object:Gem::Dependency
|
181
181
|
name: rspec-block_is_expected
|
182
182
|
requirement: !ruby/object:Gem::Requirement
|
@@ -213,7 +213,7 @@ dependencies:
|
|
213
213
|
version: '1.0'
|
214
214
|
description: Traditional username/password based authentication system for OmniAuth
|
215
215
|
email:
|
216
|
-
-
|
216
|
+
- floss@galtzo.com
|
217
217
|
executables: []
|
218
218
|
extensions: []
|
219
219
|
extra_rdoc_files:
|
@@ -245,13 +245,13 @@ homepage: https://github.com/omniauth/omniauth-identity
|
|
245
245
|
licenses:
|
246
246
|
- MIT
|
247
247
|
metadata:
|
248
|
-
homepage_uri: https://
|
249
|
-
source_code_uri: https://github.com/omniauth/omniauth-identity/tree/v3.1.
|
250
|
-
changelog_uri: https://github.com/omniauth/omniauth-identity/blob/v3.1.
|
248
|
+
homepage_uri: https://omniauth-identity.galtzo.com/
|
249
|
+
source_code_uri: https://github.com/omniauth/omniauth-identity/tree/v3.1.3
|
250
|
+
changelog_uri: https://github.com/omniauth/omniauth-identity/blob/v3.1.3/CHANGELOG.md
|
251
251
|
bug_tracker_uri: https://github.com/omniauth/omniauth-identity/issues
|
252
|
-
documentation_uri: https://www.rubydoc.info/gems/omniauth-identity/3.1.
|
252
|
+
documentation_uri: https://www.rubydoc.info/gems/omniauth-identity/3.1.3
|
253
253
|
wiki_uri: https://github.com/omniauth/omniauth-identity/wiki
|
254
|
-
funding_uri: https://
|
254
|
+
funding_uri: https://github.com/sponsors/pboling
|
255
255
|
news_uri: https://www.railsbling.com/tags/omniauth-identity
|
256
256
|
rubygems_mfa_required: 'true'
|
257
257
|
rdoc_options:
|
@@ -259,7 +259,12 @@ rdoc_options:
|
|
259
259
|
- omniauth-identity - Traditional username/password based authentication system for
|
260
260
|
OmniAuth
|
261
261
|
- "--main"
|
262
|
+
- CHANGELOG.md
|
263
|
+
- CODE_OF_CONDUCT.md
|
264
|
+
- CONTRIBUTING.md
|
265
|
+
- LICENSE.txt
|
262
266
|
- README.md
|
267
|
+
- SECURITY.md
|
263
268
|
- "--line-numbers"
|
264
269
|
- "--inline-source"
|
265
270
|
- "--quiet"
|
@@ -276,7 +281,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
276
281
|
- !ruby/object:Gem::Version
|
277
282
|
version: '0'
|
278
283
|
requirements: []
|
279
|
-
rubygems_version: 3.6.
|
284
|
+
rubygems_version: 3.6.9
|
280
285
|
specification_version: 4
|
281
286
|
summary: Traditional username/password based authentication system for OmniAuth
|
282
287
|
test_files: []
|
metadata.gz.sig
CHANGED
Binary file
|