部署iOS应用程序时Azure AD租户ApiEndpoint混淆/检查 [英] Azure AD Tenant ApiEndpoint confusion/ check when deploying iOS app

查看:61
本文介绍了部署iOS应用程序时Azure AD租户ApiEndpoint混淆/检查的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

I am delving into authentication using B2C tenant in Azure for my app. I have kindly been pointed to the following github sample:

https://github.com/Azure-Samples/active-directory-b2c-xamarin-native

https://github.com/Azure-Samples/active-directory-b2c-xamarin-native

该示例开箱即用,我可以使用ApiEndpoint调用示例API

The sample worked great out of the box, I could call the sample API using the ApiEndpoint

公共静态字符串ApiEndpoint =" https://fabrikamb2chello.azurewebsites.net/hello

public static string ApiEndpoint = "https://fabrikamb2chello.azurewebsites.net/hello

使用我自己的ADD租户部署iOS应用程序时,如何将其用作我自己的ApiEndpoint?

What do I use as my own ApiEndpoint when deploying an iOS App using my own ADD tenant?

我尝试了各种排列,但不断收到找不到主机名".

I have tried various permutations, I keep getting "hostname could not be found".

非常感谢.

推荐答案

不应该使用特殊格式.如果您已设置自定义域,则以下格式应允许您调用自定义api.

There shouldn't be a special format. The below format should allow you to call a custom api assuming you've setup a custom domain.

您在哪里收到此错误?


这篇关于部署iOS应用程序时Azure AD租户ApiEndpoint混淆/检查的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆