Try to set callback_path explicitly

This commit is contained in:
Alex Sherman 2020-09-28 14:36:40 +05:00
parent 227c2f100d
commit a3042c39ee
2 changed files with 7 additions and 6 deletions

View file

@ -18,6 +18,7 @@ redirect_uri = ENV['tara_redirect_uri']
Rails.application.config.middleware.use OmniAuth::Builder do
provider "tara", {
callback_path: '/registrar/open_id/callback',
name: 'tara',
scope: ['openid'],
state: Proc.new{ SecureRandom.hex(10) },