Forum Discussion

YannickMalins's avatar
YannickMalins
Copper Contributor
Nov 19, 2024

SCIM provisioning - custom app authentication

Hi, in the documentation for handling endpoint authentication, two methods are given:

1) a "long-lived token" (i.e. a secret key that has to be pasted in-clear by the admin)

2) "Microsoft Entra bearer token" - similar to other services (e.g. callbacks for MS Teams bots), Microsoft sign the outgoing calls, and the app being provisioned can validate them against Microsoft's public keys

To me, option (2) is by far the best - each message is signed individually, there is no manual handling of secrets etc. As said in the documentation - "Apps that use Microsoft Entra ID as an identity provider can validate this Microsoft Entra ID-issued token." - great!

So why on earth does it then say "The token generated by the Microsoft Entra ID should only be used for testing. It shouldn't be used in production environments." ?

Why not? The whole system of Entra bearer tokens is only for test? And production should go back to secret keys, with all the problems they have? It doesn't seem right..

What am I missing here?

No RepliesBe the first to reply

Resources