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
You can now access the OmniAuth Tipalti OAuth2 URL: /auth/tipalti
If you are using a Tipalti sandbox applicaiton, you can optionally set the site:
Rails.application.config.middleware.useOmniAuth::Builderdoprovider:tipalti,
...
client_options: {site: ' https://sso.sandbox.tipalti.com',},
...
end
Dynamic
If your Rails application needs to support multiple Tipalti applications, you can pass in your configuration dynamically:
Rails.application.config.middleware.useOmniAuth::BuilderdoTIPALTI_SETUP_PROC=lambdado |env|
request=Rack::Request.new(env)# Load dynamic content into dynamic_contentenv['omniauth.strategy'].options[:client_id]=dynamic_content.client_idenv['omniauth.strategy'].options[:client_secret]=dynamic_content.client_secretendprovider:tipalti,redirect_uri: Rails.application.routes.url_helpers.my_integration_response_urlsetup: TIPALTI_SETUP_PROCend
Configuration
You can configure several options, which you pass in to the provider method via a hash:
scope: A space-separated list of permissions you want to request from the user.
redirect_uri: Override the redirect_uri used by the gem. Note this must match exactly what you specified in the WhoPlusYou Developer Portal in your Client Domains setting.
License
Copyright (C) 2023 Jordan Ell. See LICENSE for details.
About
Strategy to authenticate with Tipalti via OAuth2 in OmniAuth.