-
Notifications
You must be signed in to change notification settings - Fork 301
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Application improvements #474
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
aside from a few comments on schema this looks good!
}, | ||
|
||
"oauth2_post_response_required": { | ||
Description: "Specifies whether, as part of OAuth 2.0 token requests, Azure AD allows POST requests, as opposed to GET requests.", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this says "post allowed" vs the property name "response_required"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a tricky one since the docs are ambiguous on the behaviour. I'll try to dig up the actual meaning and make it clearer one way or the other.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It seems like this description, which was pulled from application manifest docs, is the only documentation available on this one. Will follow up separately and try to find out more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
any update on this one?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not as yet, have reached out to get some clarity on this field
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've raised this separately as #491 against the 2.0.0 milestone in order to unblock the PR stack :)
@katbyte I've added some additional validation to try and avoid applying bad application configurations; could you take another look before merging? Thanks! :) |
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
aside from a couple comments LGTM 🍰
@@ -252,6 +349,35 @@ func applicationDataSource() *schema.Resource { | |||
Computed: true, | |||
}, | |||
|
|||
"single_page_application": { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if this is a list shouldn't it be plural?
"single_page_application": { | |
"single_page_applications": { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This block is intended to contain the settings for the application when it's functioning as a single page app (the API container is just spa
but I felt it needed expanding)
}, | ||
|
||
"oauth2_post_response_required": { | ||
Description: "Specifies whether, as part of OAuth 2.0 token requests, Azure AD allows POST requests, as opposed to GET requests.", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
any update on this one?
- accept_mapped_claims - known_client_applications - requested_access_token_version
…he new `public_client` block
…ids` attributes. Resolve unwanted diffs with a big DiffSuppressFunc instead of selecting setting attributes in state
2770927
to
cdf4f18
Compare
I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active contributions. |
sign_in_audience
is changed to include personal accounts, to avoid breakageNew Applications Features
api
blockaccept_mapped_claims
known_client_applications
requested_access_token_version
disabled_by_microsoft
attributelogo_url
,marketing_url
,privacy_statement_url
,support_url
andterms_of_service_url
propertiesdevice_only_auth_enabled
propertyoauth2_post_response_required
propertypublisher_domain
attribute (this is readonly, awaiting feedback on how we can set this)public_client
blocksingle_page_application
blockapp_role_ids
andoauth2_permission_scope_ids
to alleviate typeset handling with config boilerplateCloses: #188
Closes: #244
Closes: #286
Closes: #320
Closes: #436
Closes: #462
Closes: #469
Closes: #477