Hi everyone! I'm diving into the world of IDP integration right now, and I could really use some help. I'm currently working on an application that requires Identity Provider (IDP) integration, and I've learned it's crucial since we can only create one local account. A customer I recently met with mentioned using Azure IDP and highlighted a key concern: the XML metadata generated only remains valid for about a year. They expressed the need for our app to integrate with a URL or refresh mechanism to avoid authentication failures down the line as the metadata would expire. I'm looking to better understand this URL refresh mechanism they emphasized, as I can't seem to find much information in the documentation or through online searches. We're primarily a Linux shop, with only a couple of Windows VMs, and I'm open to setting up a lab IDP solution to get to grips with this, but I'm kind of lost at the moment.
3 Answers
You're looking for a metadata URL! This allows your app to automatically check for updates when the certificate is renewed, so you won't have to manually upload it every time from Azure AD. The one-year lifespan comes from the certificate validity that's created during SSO app setup.
It’s essential to validate access tokens presented to your app for authenticity. The keys that sign these tokens are available at a public URL, which is great for keeping your app secure. Check out this link for more info: [Microsoft Access Token Validation](https://learn.microsoft.com/en-us/entra/identity-platform/access-tokens#validate-tokens). It should give you a clearer idea!
It sounds like you're probably dealing with SAML since you're referring to a metadata file. While the metadata itself is generally stable, the certificate it uses does expire. To manage this, you might consider a certificate with a longer expiration time. We usually just keep an eye on the expiration dates and renew them when necessary. Also, a note: Azure AD is now called Entra ID, so that could help with your searches!

Related Questions
How to Build a Custom GPT Journalist That Posts Directly to WordPress
Fix Not Being Able To Add New Categories With Intuitive Category Checklist For Wordpress
Get Real User IP Without Installing Cloudflare Apache Module
How to Get Total Line Count In Visual Studio 2013 Without Addons
Install and Configure PhpMyAdmin on Centos 7
How To Setup PostfixAdmin With Dovecot and Postfix Virtual Mailbox