Closed evdevdev closed 2 years ago
It is incompatible with config files too, there is a PR out: https://github.com/dandrews/omniauth-okta/pull/1. It does not seem like there is any movement on this gem, so maybe add it to your boot.rb file if you are using rails:
# config/boot.rb
ENV['OKTA_ORG'] ||= 'exampleorg'
hey guys, any progress on that one?
I merged in #1 but if anyone wants to submit a pull request here it'd be greatly appreciated.
@dandrews works perfect, thank you!!
I've noticed a funny issue, which is that the way env vars are used to set constants is incompatible with using dotenv for setting environmental paths.
My hunch is that this has something to do with the way bundler follows requires.
I think the fastest fix would be to eliminate these lines:
And instead reference
ENV
wherever the constants were called.Thoughts?