Auth provider custom URL?

(Jesse Perry) #1

Could someone help explain the new feature to allow auth providers to provide a custom URL? I tried to read through the code but didn’t really understand what was happening. Any insight would be great — thanks!

(Dean Taylor) #2

I believe it’s used in the SAML auth provider if that’s any help to you:

SAML plugin in repo. Multisite
(Jeff Atwood) #3

Should we clarify in the settings copy if this is for saml only @eviltrout?

(Robin Ward) #4

It’s not a site setting though, that’s an internal field that plugin authors can use to set a custom URL.

As to how to use it, any plugin that creates an omniauth.provider can supply a :custom_url if they like like in the SAML example above.