How can I make a TypeScript setup reproducible?
The same project needs to behave consistently on developer machines, in CI and after deployment. Which versions, dependencies and configuration should be recorded?
ReadMeFeed / Community knowledge
Real questions. Useful conversations. Find the people who know your stack.
The same project needs to behave consistently on developer machines, in CI and after deployment. Which versions, dependencies and configuration should be recorded?
I have added the Microsoft Active Directory as an identity provider as shown below and configured the Authentication flow to automatically create the user(s) Mapper is configured to Map the user to a Role based on the claims Everything works till this part, Users are getting created/added automatically However, Email column is empty. I want to automatically
I'm using https://login.microsoftonline.com/.../oauth2/v2.0/token to authenticate (authorization_code grant) to azure Ad using the scopes: offline_access, openid, profile, User.Read According to the documentation the Access Token I receive should contain the roles of the user: https://learn.microsoft.com/en-us/azure/active-directory/develop/access-tokens How
A failure needs to be narrowed down before settings are changed or operations retried. Which evidence best separates application errors from environment and dependency problems?
I have a simple json file and if I pipe the output of "jq" into "less", the colors get removed. This works: # yey, lots of colors jq "." /tmp/myfile.json This doesn't work: # ugly output :( , no colors jq "." /tmp/myfile.json | less -R Any ideas on how to make "less" keep the colors?
When creating multi-tenant apps that will use Azure AD Authentication to sign users in, various samples on GitHub seem to suggest that the App Registration should include the following permissions clubbed under OpenId. email View users' email address offline_access Maintain access to data you have given it access to openid Sign users in profile View users' b
Recovery needs to recreate the working service and its required data after a machine or process is lost. Which artifacts and state need protection, and how should the restore be checked?
I have a Rails application that I want to deploy using Docker on an Ubuntu server. I have the Dockerfile for the application already set up, right now I want to view the nginx conf in its container. I ran the command below to start an nginx container in an interactive mode: docker run -i -t nginx:latest /bin/bash Right now I am trying to install nano editor
I am using System.IdentityModel.Tokens.Jwt package and the below code decoding the jwt token, but it won't give exp value? var handler = new JwtSecurityTokenHandler(); var decodedValue = handler.ReadJwtToken("token"); How to get exp and compare it with the current DateTime to calculate token is expired or not? Update: I am using Azure.Core.AccessToken where
answered · 20 Mar 2022, 12:59 UTC