mocksaml/lib/entity-id.ts
Deepak Prabhakara 6fae8857b1
Add a namespace page to get unique entity ids for multi tenant use (#472)
* allow a unique entity id per org

* updated metadata url to support org

* org specific login

* org -> namespace

* updated node and alpine

* spacing tweak
2024-01-20 23:20:37 +00:00

6 lines
163 B
TypeScript

const getEntityId = (entityId: string, namespace: string | undefined) => {
return namespace ? `${entityId}/${namespace}` : entityId;
};
export { getEntityId };