Skip to content

Conversation

@may-hartov
Copy link
Contributor

updates to samples auth from ADAL -> MSAL + cloudConfig enhancements

bapat-atharva and others added 9 commits February 9, 2022 13:00
…tion samples

Here we handle the case when we have cloud gateway.

In case of cloud gateway, when we try to get the gateway information using `gatewayId`, the call throws a `404 Not Found` error. This error indicates the existence of cloud gateway.

In case of on-premises gateway, we get a success response with information like `publicKey`(required for encryption).

So here, we add try catch block to handle the `404` error and continue the flow with cloud gateway.
…t variables

Related work items: #766862, #769896
@may-hartov may-hartov merged commit 7940589 into master Aug 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants