Hey there! I'm trying to deploy ory kratos in k8s,...
# talk-kratos
s
Hey there! I'm trying to deploy ory kratos in k8s, the idea is to connect it with Azure AD, but I'm not being able to do so. Has someone done so? • I need to add the jsonnet to the container, but I'm not being able to do so.
Copy code
local claims = std.extVar('claims');
{
  identity: {
    traits: {
      // Allowing unverified email addresses enables account
      // enumeration attacks,  if the value is used for
      // verification or as a password login identifier.
      //
      // If connecting only to your organization (one tenant), claims.email is safe to use
      // if you haven't actively disabled e-mail verification during sign-up.
      //
      // The email might be empty if the account isn't linked to an email address.
      // For a human readable identifier, consider using the "preferred_username" claim.
      [if 'email' in claims then 'email' else null]: claims.email,
    },
  },
}
Any help would be appreciated!
This is the documentation I'm following: https://www.ory.sh/docs/kratos/social-signin/microsoft