extract correct entity id for ukamf metadata
GitOrigin-RevId: 4cb1d7f6e5636bbed77c4279d7d7704ab9b9ab77
This commit is contained in:
committed by
sharelatex
parent
77b7b03ead
commit
91c4cf16cc
@@ -11,6 +11,7 @@ class UKAMFEntity {
|
||||
const idp = this.data.IDPSSODescriptor[0]
|
||||
const keys = idp.KeyDescriptor
|
||||
const signingKey = keys.find(key => _.get(key, ['$', 'use']) === 'signing')
|
||||
const entityId = this.data.$.entityID
|
||||
|
||||
let cert = _.get(signingKey, [
|
||||
'ds:KeyInfo',
|
||||
@@ -37,6 +38,7 @@ class UKAMFEntity {
|
||||
|
||||
return {
|
||||
cert,
|
||||
entityId,
|
||||
entryPoint
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user