Ready to post? First, try searching for your answer.
Hi, I am configuring Auth0 to work with a rails application using the SDK and the quick start guide here. I am trying to pass an organisation id so that I can load an organisation-specific login page using the code below:
def index
auth0_login_url = "/auth/auth0?organization=my_org_id"
render inline: <<-HTML
<%= button_to '#{auth0_login_url}', method: :post, data: { turbo: false } do %>
Login
<% end %>
HTML
end
When I click the login page I get the following error:
OmniAuth::Strategies::OAuth2::CallbackError
invalid_request | parameter organization is not allowed for this client
What is the correct way of passing the organization id?