Git Product home page Git Product logo

registeraadapp-ps's Introduction

Regsiter new application API

API for registrering av ny APP / servicePrincipal i Azure AD

Azure AD app / servicePrincipal er nødvendig for å kunne logge inn i applikasjoner/tjenester med AzureAD credentials

JSON Input format:

{

    "applicationName": "kn test app14",
  
    "replyURLs": [
    
        "https://localhost/callback",
        
        "https://app.trygdeetaten.no/callback"
        
    ],
    
    "owners": [
    
        "[email protected]",
        
        "[email protected]"
        
    ]

}

Azure functions:

Preprod:

navInfraQapi - registerApp-PS

Prod:

navInfraApi - registerApp-PS

Nødvendige variabler:

Variablene legges inn som "application settings" i Azure funksjonen

applicationId = appId til autentiserings app i AAD

appSecret = Key for autentiseringsappen i AAD

appSecretToken = key for autentiseringsappen i AAD

certThumbprint = thumprint på sertifikat som er lastet opp til functionen for autentisering mot AAD

secretWebhook = URI til Microsoft Teams kannal for posting av info

teanantid = Azure AD tenant ID

tokenAuthURI = AAD standard token URI

WEWSITE_LOAD_CERTIFICATES = samme thumbprint som certThumbprint

Deployment:

Commit til "master" trigger autodeployment til Azure Functions i både preprod og prod tenanten.

Bruk "staging" barnchen for commit som ikke skal autodeployes.

Contact:

For spørsmål knyttet til denne funksjonen, Azure AD applications, Azure AD integrasjon:

Nav it slack'en: #bruk-av-tokens

registeraadapp-ps's People

Contributors

northgrove avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.