Skip to content

Sets up an EntraID/AzureAD app registration to be used by an OAuth SP

Notifications You must be signed in to change notification settings

benjaminejarrell/terraform-azuread-oauth

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Setup an App Registration, Enterprise Application and appropriate permissions for an OAuth application.

Getting an error about admin consent?

  1. Go the the Entra portal https://entra.microsoft.com/
  2. Navigate to the App Registration -> API permissions -> Grant Admin Consent

Permissions needed

You need the Cloud Application Administrator role on your Entra tenet.

Requirements

Name Version
azuread >= 2.52.0

Providers

Name Version
azuread >= 2.52.0

Modules

No modules.

Resources

Name Type
azuread_application_api_access.msgraph resource
azuread_application_password.main resource
azuread_application_redirect_uris.main resource
azuread_application_registration.main resource
azuread_service_principal.main resource
azuread_application_published_app_ids.well_known data source
azuread_client_config.current data source
azuread_service_principal.msgraph data source

Inputs

Name Description Type Default Required
app_role_assignment_required If true, internal users are required to be assigned to this app bool true no
app_visible If true, the Enterprise Application will be visible to users in My Apps and Office 365 Launcher bool false no
name Name of the Application in EntraID string n/a yes
redirect_uri Where the application sends the user after authorization. Also called reply URL. string n/a yes

Outputs

Name Description
entraid_application_password EntraID Client Secret
entraid_application_registration_id EntraID Client ID
entraid_tenet_id EntraID Tenet ID
oidc_issuer OIDC Issuer URL

About

Sets up an EntraID/AzureAD app registration to be used by an OAuth SP

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages