You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
But i keep getting the same error 'Received wrong number of arguments. '
ive enclosed some files which might help
i really need to get this to work (job may depend on it)
I either get Received wrong number of arguments. [nil] or Received wrong number of arguments. [nil]
cant put any files on here I've added the trace:
I can sent you anything you need to see
RIPA couldn't survive the dire economic conditions caused by our current administration's ill-advised austerity-based approach to financial "management" and closed down a few weeks ago. I don't know if I'll be able to keep maintaining this software in my free time; I'd certainly have to fork it to my own repo and publish from there.
I can only offer bare minimum support. Not having a job into Christmas / NY is very difficult.
hi there ive tried to follow this as best i can:
Follow what as best you can?
omniauth.txt
This isn't directly helpful, as you've not said where the "received wrong number of arguments" error is coming from - bug reports are better with the exception backtrace included, for future reference. However, README.md says this:
Rails.application.config.middleware.useOmniAuth::Builderdoprovider:entra_id,ENV['AAD_CLIENT_ID'],ENV['AAD_CLIENT_SECRET'],{tenant_id: ENV['AAD_TENANT_ID'],scope: 'openid profile email'# Adjust scopes as needed}end
Even though parens in Ruby method calls are optional, I very strongly encourage their use at all times for clarity. You'll find your own provider call easier to read.
You are passing three parameters to this call, then a Hash. Clearly, the example in the read-me shows one parameter then a Hash. Your client ID and secret are incorrectly specified.
I also note you haven't renamed your env vars for AAD -> Entra but I assume that's correct and they're still defined in your environment under the old names. In that case, I think you want to write something like this (untested guesswork code):
hi there ive tried to follow this as best i can:
But i keep getting the same error 'Received wrong number of arguments. '
ive enclosed some files which might help
i really need to get this to work (job may depend on it)
I either get Received wrong number of arguments. [nil] or Received wrong number of arguments. [nil]
cant put any files on here I've added the trace:
I can sent you anything you need to see
omniauth.txt
trace.txt
The text was updated successfully, but these errors were encountered: