Azure AD B2C Signout response message - azure

how to change signed out response message on azureADB2C or how to remove the response message on azure ad2bc after successful signout
Find below screenshot
Default Signout message Screenshot

The B2C logout endpoint redirects you back to the application.
https://learn.microsoft.com/en-us/azure/active-directory-b2c/openid-connect#send-a-sign-out-request
Is this what you implemented? The image appears to be a logout from Azure AD, not AAD B2C. The cropping of the url makes it hard to tell.

Related

Signup using invitation mail

Can we send a magic link for signup via Azure AD B2C policy rather than the application sending it? The sample at https://github.com/azure-ad-b2c/samples/tree/master/policies/invite shows the app sending the B2C signup link.

Azure AD B2C logout issue

Issue summary:
msal.logout() appears to log the user out, but after "logging out" the user can click "login" and be logged in again without being required to enter their username and password.
This is a serious security issue for user's who login to our application on a public computer, then logout thinking that they have prevented someone from accessing their account.
Frontend is using Angular-msal 1.0.0 (Angular-oauth2-oidc has the same issue, so I think it's not the problem of js library).
Azure AD B2C built in user flow and xml custom policy both have this logout issue when login with federated AAD tenant user.
Any help would be appreciated.
Thanks.
The MSAL library provides a logout method that clears the cache in browser storage and sends a sign-out request to Azure Active Directory (Azure AD). Request will be done against the end_session_endpoint URL obtained from the B2C policy metadata. Keep in mind single sign out is supported only by custom policies and that it's scoped to the same browser, not device.
Just in case you are still facing any issue an idea would be to redirect using &prompt=loginin your auth url will revoke your login request with out user session.

error 401 azure ad b2c - google / linkedin

I've trying to use Azure AD B2C as the identity provider for my application. I was able to setup using Microsoft Accounts and Email (let users use whatever they want).
However when trying to use Gmail or Linkedin, as soon as I select the icon in the login /register page, I'm getting a 401 error:
The OAuth client was not found.
Request Details
client_id=cc6323b1-dxxxxxxxxxx
redirect_uri=https://xxxxxx.b2clogin.com/xxxxxx.onmicrosoft.com/oauth2/authresp
response_type=code
scope=email profile
state=StateProperties=eyJTSUQiOiJ4LW1zLWNwaW0tcmM6OGM2ZmI2MjAtZTI2ZC00ODdmLTliOGItYjg1MGNmYTMwNGM0IiwiVElEIjoiMTEwOGJiZTktNDY0NS00MzcwLTljYmMtZDNiZWUzNTM5NzA2In0
That’s all we know.
Found the answer.... it's required to register the app on Linkedin and Google.
https://learn.microsoft.com/en-us/azure/active-directory-b2c/identity-provider-google
https://accounts.google.com/SignUp
https://learn.microsoft.com/en-us/azure/active-directory-b2c/identity-provider-linkedin
https://www.linkedin.com/developers/

ID Token Validation in Azure B2C

I am very new to Azure B2C and trying to explore the options available to manage the identities in B2C. I have registered web application and also created required custom policy in B2C tenant. When I am trying to run the workflow from Azure B2C portal, I am able to redirect to registered application with IdToken and also able to view the ID token information in https://jwt.io
Below are some of the question which requires clarification
Suppose I have hyperlink in my web application(Asp.Net web form) which redirects the user into Azure B2C. On successful signin in Azure B2C, how to validate ,process ID Token and fetch the user information in web application. I have seen code samples related to button click event.
How to refresh the token in the above case.
The easiest way is to use the MSAL library on the client side.
This does all this for you.
You get back an id_token and an access token.
Only an access token can be refreshed.

Encountering a redirect_uri with LinkedIn Login (Azure B2C)

I have configured LinkedIn settings in Azure B2C Identity Providers and have also configured it in LinkedIn developer portal too. However, when I try to use the LinkedIn login via Azure B2C login page I get an error page with the following message:
The redirect_uri does not match the registered value
I have given the Authorized redirect URL for OAuth 2.0 (in LinkedIn) as:
https://login.microsoftonline.com/te/PMStudioUserManagementProd.onmicrosoft.com/oauth2/authresp
What can be the problem?

Resources