Skip to content

Commit 09b25df

Browse files
authored
Update resources.tf
corrects callback uri for predictable login auths
1 parent e952aeb commit 09b25df

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

resources.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ resource "okta_app_oauth" "app" {
33
type = var.type
44
grant_types = var.grant_types
55
login_uri = formatlist("%s/oauth2/default", var.urls).0
6-
redirect_uris = concat(formatlist("%s/oauth2/default", var.urls), formatlist("%s/oauth2/callback", var.urls))
6+
redirect_uris = formatlist("%s/oauth2/callback", var.urls)
77
status = var.status
88
auto_key_rotation = var.key_rotation
99
#logo_uri = var.logo_uri # disabled as a recent update seems to disallow this to be set to an empty string

0 commit comments

Comments
 (0)