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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6b297464a56ceea993a5ae06c370b0e9ce2326724cdfb913d82370eea389a8ad
4
- data.tar.gz: 6b19a77fefb49221be98df7a38b9e4f998963fdda0ac985237fff87befb591ce
3
+ metadata.gz: 2daa2b7e176395c61f46efdfe81db3ba763b44ec68b0638cda0f9b77c7fef3b7
4
+ data.tar.gz: a758f160175d7d82d5190cc5ef771e73fffcdf4d1eac4debde9b2161c345b553
5
5
  SHA512:
6
- metadata.gz: 8f638a48c1b1cfcf67ce659066011f28ebcaafca0f1c6620698d77704610d9899ee051c3b7d72cb8469de1c1399879422c3085e261f33ba9c935670f29bf02e0
7
- data.tar.gz: 6692e1f0d2160e5c764b803d21fb0a26a75e9e2d225912c313bec119aebe78140a503a84b7cf3d70af0637fc108332c2fd3e4859b7960aa6f7d7780f76f5cbdc
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
- Microsoft app setup:
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`)
@@ -2,6 +2,6 @@
2
2
 
3
3
  module OmniAuth
4
4
  module MicrosoftIdentity2
5
- VERSION = '1.0.2'
5
+ VERSION = '1.0.3'
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: omniauth-microsoft-identity2
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
4
+ version: 1.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Claudio Poli