mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2024-11-29 10:24:20 +01:00
(bug) define uid field in openid connect configuration
This commit is contained in:
parent
b3848596bf
commit
18a80a225c
@ -20,6 +20,9 @@ class AuthProviderService
|
||||
provider.providable.display = 'page'
|
||||
provider.providable.response_mode = 'query'
|
||||
provider.providable.response_type = 'code'
|
||||
provider.providable.uid_field = provider.auth_provider_mappings
|
||||
.find { |m| m.local_model == 'user' && m.local_field == 'uid' }
|
||||
.api_field
|
||||
|
||||
URI.parse(provider.providable.issuer).tap do |uri|
|
||||
provider.providable.client__scheme = uri.scheme
|
||||
|
Loading…
Reference in New Issue
Block a user