Skip to content

Conversation

@mynock
Copy link

@mynock mynock commented Aug 2, 2015

When using omniauth in a multitenant environment, it's useful to have a separate set of credentials for each tenant that need to be selected at runtime based on the target domain/path of a request. This change allows the client_id and client_secret settings to be passed as anonymous functions instead of static values in order to facilitate this.

@zmajstor
Copy link

actually, there is a way to do that, in the setup phase, see this: https://github.com/intridea/omniauth/wiki/Setup-Phase

@tmilewski
Copy link
Member

Closing based on follow-up comment. Thanks!

@tmilewski tmilewski closed this Nov 21, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants