enable openids in development by default, do not show openID header unless keys are set.
This commit is contained in:
parent
4955b2b7b8
commit
a8379081b4
2 changed files with 29 additions and 17 deletions
|
|
@ -68,17 +68,17 @@ Osem::Application.configure do
|
|||
}
|
||||
)
|
||||
|
||||
OmniAuth.config.mock_auth[:novell] =
|
||||
OmniAuth.config.mock_auth[:suse] =
|
||||
OmniAuth::AuthHash.new(
|
||||
provider: 'novell',
|
||||
uid: 'novell-test-uid-1',
|
||||
provider: 'suse',
|
||||
uid: 'suse-test-uid-1',
|
||||
info: {
|
||||
name: 'another user',
|
||||
email: 'user1@email.com'
|
||||
},
|
||||
credentials: {
|
||||
token: 'novell_mock_token',
|
||||
secret: 'novell_mock_secret'
|
||||
token: 'suse_mock_token',
|
||||
secret: 'suse_mock_secret'
|
||||
}
|
||||
)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue