omniauth-microsoft-identity2 1.0.2 → 1.0.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
- data/README.md +9 -1
- data/lib/omniauth/microsoft_identity2/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 2daa2b7e176395c61f46efdfe81db3ba763b44ec68b0638cda0f9b77c7fef3b7
|
|
4
|
+
data.tar.gz: a758f160175d7d82d5190cc5ef771e73fffcdf4d1eac4debde9b2161c345b553
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 83ea47e9828feb8be7b66891b1942ecd71a0fa50fdfff9781012f0310518939f4df38932c60d311ab93164d550a4973dbbff53010f4715d825c00086c91de47f
|
|
7
|
+
data.tar.gz: 703031b7c0445961a4a0bc5f38f9d8c7b9e930540508e7a3869760af910a8e268a5337988368bdded0223ab9b64b687522ba2d1705645e33e8553ddfde5f0334
|
data/README.md
CHANGED
|
@@ -38,9 +38,11 @@ provider :microsoft_identity, ENV.fetch('MICROSOFT_CLIENT_ID'), ENV.fetch('MICRO
|
|
|
38
38
|
provider :windowslive, ENV.fetch('MICROSOFT_CLIENT_ID'), ENV.fetch('MICROSOFT_CLIENT_SECRET')
|
|
39
39
|
```
|
|
40
40
|
|
|
41
|
-
|
|
41
|
+
## Provider App Setup
|
|
42
|
+
|
|
42
43
|
- [Microsoft identity platform OAuth 2.0 authorization code flow](https://learn.microsoft.com/en-us/entra/identity-platform/v2-oauth2-auth-code-flow)
|
|
43
44
|
- [OpenID Connect on the Microsoft identity platform](https://learn.microsoft.com/en-us/entra/identity-platform/v2-protocols-oidc)
|
|
45
|
+
- Register callback URL (example): `https://your-app.example.com/auth/windowslive/callback`
|
|
44
46
|
|
|
45
47
|
## Options
|
|
46
48
|
|
|
@@ -150,6 +152,12 @@ RAILS_VERSION='~> 8.1.0' bundle install
|
|
|
150
152
|
RAILS_VERSION='~> 8.1.0' bundle exec rake test_rails_integration
|
|
151
153
|
```
|
|
152
154
|
|
|
155
|
+
## Test Structure
|
|
156
|
+
|
|
157
|
+
- `test/omniauth_microsoft_identity2_test.rb`: strategy/unit behavior
|
|
158
|
+
- `test/rails_integration_test.rb`: full Rack/Rails request+callback flow
|
|
159
|
+
- `test/test_helper.rb`: shared test bootstrap
|
|
160
|
+
|
|
153
161
|
## Compatibility
|
|
154
162
|
|
|
155
163
|
- Ruby: `>= 3.2` (tested on `3.2`, `3.3`, `3.4`, `4.0`)
|