omniauth / omniauth-okta

OAuth2 strategy for Okta
MIT License
41 stars 37 forks source link

Issues while deploying the app under a subdirectory #21

Closed luizkowalski closed 9 months ago

luizkowalski commented 2 years ago

Hey!

I have a Rails app deployed under a subdirectory as the the manual shows and I'm having issues with Omniauth.

The route generated by user_okta_omniauth_authorize_path seems to ignore the subdirectory and generates the URL without it.

Any ideas on how I can work around this?

I'm using Rails 6.1.4.1 with both this gem's latest version available on Rubygems and the master branch