identity-experience-framework

Fetch ClaimType Enumerations via REST

南楼画角 提交于 2019-12-04 12:24:46
We're happily enriching our claims via custom RESTful API, but is it possible to instead display the fetched claim values (comma delimetered, for example) in a drop-down and ask used to pick one? <ClaimType Id="city"> <DisplayName>city where you work</DisplayName> <DataType>string</DataType> <UserInputType>DropdownSingleSelect</UserInputType> <Restriction> <!-- FETCH THESE VIA REST --> <Enumeration Text="Bellevue" Value="bellevue" SelectByDefault="false" /> </Restriction> </ClaimType> 来源: https://stackoverflow.com/questions/49253190/fetch-claimtype-enumerations-via-rest

Azure AD B2C - Refresh_Token refresh claims via REST (Identity Experience Framework)

若如初见. 提交于 2019-12-03 16:53:17
We have Azure AD B2C setup to use Identity Experience Framework, and on sign-in/sign-up a REST call is made to get extra security credential claims via an Azure Function. This works fine. When we request an Access/Id Token via Refresh_Token via Azure AD B2C it looks like we get the same token back, and it doesn't call the REST API to get the latest updated token claims. Is it possible to make change this User Journey so it does? Is there another solution to refresh token without logging in again to get latest updates? (We could get around this in code and not using the Token, but for various

Invalid usename or password when sigining local account with Azure AD B2C Custom Policy

微笑、不失礼 提交于 2019-12-03 09:01:56
Scenario: When I started to do a test with AAD B2C Custom policy, I used this sample: active-directory-b2c-custom-policy-starterpack/SocialAndLocalAccounts/ I referred to this documentation to get started. I followed those steps and changed some values in the samples and have double checked the client_id and resource_id. When I tried to run the signup or signin policy, I failed to signin with a local account with error: (Though I can signin with soical account) Invalid username or password I used Fiddler to catch the traffic, here is the request and response when I came across the error:

Azure AD B2C - “emails” claim in custom policy

半城伤御伤魂 提交于 2019-11-27 06:56:40
问题 I'm looking for a way to add an emails claim (collection of emails) to a custom policy for Azure AD B2C. This application claim is available from the Azure Portal directly but I cannot find a way to implement this in a custom policy which I need to create. What I want to achieve is to have Azure AD B2C authentication for my WebApp users and Azure AD authentication as custom Authentication Provider for employees so It means I will need to add emails claim twice - for Local accounts and for