strongmind-auth 1.1.84 → 1.1.85

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: '0680e50f86a18727bbcd427f91f8444e159c0e386a482ad078b85d2ed6980eb9'
4
- data.tar.gz: 0174f01ef4647c60c9548d8285ef86c12e2c1d0d97d7a585eb43e508b959e148
3
+ metadata.gz: 0603240cd0611c8ebc893ea92f1ef516b354eedf559535aad6f86a9dc52a4fd5
4
+ data.tar.gz: 5d5361c33fb59d32b1502896c17c5bb377654539b84cda2974a47bea19fc145c
5
5
  SHA512:
6
- metadata.gz: 76d8f814aed0c739396f651ce9bf9b3087cf556911eb2d10cea24b87deb2c686b3245c492ac2154eb4749406481b15cf8817da67137e3197358416cb7dfe3081
7
- data.tar.gz: e8e564fbe9f96f4ef4d9e78bb79069eaca1b329f9d33040e159d5a7b8b0e348b277597c9c95fcf840ec93d397df7931cae8508ee46d9ea85b1021d659e2f21d9
6
+ metadata.gz: bc102f6517e367dae3274ab86bfeb0bc6d631fb1b0b73accd082e6cd876488d9cd38acd010f9b348521116e13e822b8f30aaa08d81454cfbb8ff13e6c99bacff
7
+ data.tar.gz: 31693ef186994a153fc0c87b191286fffd5381273be08e811b7d2ada76eb02250d7c5bb510eb211a044c47a521bac74a5ff4a3cff343f848990c70ab894fbd4f
data/README.md CHANGED
@@ -6,6 +6,18 @@ Ruby gem for authentication in a rails app
6
6
 
7
7
  1. Use [Repository Dashboard](https://repository-dashboard.strongmind.com/repositories/new) to create a new repository
8
8
  with the rails-template.
9
+ 1. If you **did not** use the rails-template from Repository Dashboard, you will need to add the following to your Gemfile:
10
+ ```ruby
11
+ gem "strongmind-platform-sdk"
12
+ gem 'font-awesome-rails'
13
+ gem 'devise'
14
+ gem 'omniauth'
15
+ gem 'omniauth_openid_connect'
16
+ gem 'omniauth-rails_csrf_protection'
17
+ gem 'dotenv-rails'
18
+ gem 'sentry-rails'
19
+ ```
20
+ 1. If you want to use the common navbar you will also need to go to [section 5 and 6 in the existing application doc](https://github.com/StrongMind/rails-auth/blob/main/docs/adding-to-an-existing-app.md) and follow the instructions there after running the generator in step 2.
9
21
  1. Navigate to the repo folder in a terminal and execute `rails g strongmind:install`
10
22
  1. Move app root to authenticated root in routes. Should look like this:
11
23
  ```ruby
@@ -13,6 +25,7 @@ Ruby gem for authentication in a rails app
13
25
  root to: 'home#index' # or whatever makes sense for your app
14
26
  end
15
27
  ```
16
- 1. Create a new client in identity server and `IDENTITY_CLIENT_ID` and `IDENTITY_CLIENT_SECRET` values to .env file.
28
+ 1. Create a [new client in stage identity server](https://devlogin.strongmind.com/Clients/Create) and `IDENTITY_CLIENT_ID` and `IDENTITY_CLIENT_SECRET` values to .env file.
29
+ 1. Create a [new client in prod identity server](https://login.strongmind.com/Clients/Create) and `IDENTITY_CLIENT_ID` and `IDENTITY_CLIENT_SECRET` values to .env file.
17
30
  1. Execute `rails dev:cache` to turn on caching in development.
18
31
  1. Execute `bin/dev`
@@ -1,5 +1,5 @@
1
1
  module Strongmind
2
2
  module Auth
3
- VERSION = "1.1.84"
3
+ VERSION = "1.1.85"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: strongmind-auth
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.84
4
+ version: 1.1.85
5
5
  platform: ruby
6
6
  authors:
7
7
  - Team Belding
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-04-18 00:00:00.000000000 Z
11
+ date: 2024-04-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails