I've been developing an WebAPI based application with token based authentication implemented and Using angularJs 1.6 as front-end. Requirement is to provide SSO for office365 without navigating user to microsoft login page for consent when user in signed in to application using login page of dashboard. Currently I'm not able to find any way to do that. Kindly guide me in accomplishing that. In my dashboard I'll provide link for any microsoft service. Let's say OutLook. When the user clicks on that link it will open up in new tab. I've been able to accomplish that using SMART LINKS. But for now user need to authenticate again on microsoft's login page.
Kindly help me in accomplishing SSO for that.
Related
I have a usecase to integrate “ADB2C” with a “Java application” for a user authentication, and we are using a Microsoft MSAL libraries in the integration .
And here is a scenario that I’m facing currently, once a user navigates to the java web application and hit “Login” button then user redirect to the B2C SignIn page and user is getting authenticated successfully and we are receiving an access token successfully.
But, after user loggedIn and try accessing an authenticated apps on the website, then it’s asking the user to login again which is unexpected.
Please suggest me on this scenario, whether the changes have to make in the code or B2C custom policy side to overcome this issue. I really appreciate your time in considering this.
we are currently developing a new web app with Azure B2C as IDP. The authentication method is SAML2.0, and everything is working well. But when a user wants to login, the web app is redirecting the user to the Microsoft login form, is it possible to use our custom login form?
I know are some possibility to rebrand the login form like logo and background, but it still have the Microsoft look and feel. I tried to create a user flow in Azure B2C, but i don't have the option to choose the authentication method SAML.
No.
This is standard across all Microsoft security products e.g. ADFS.
You always have to use the Microsoft login screen.
My company has developed a web-based application for internal and external use. The application is developed by angular + asp.net WebApi and authorised by OAuth. Users have to use the username and password given by us to login. The application works well. Recently, clients made a new request to login our system through Azure AD SSO. They want us to integrate their Azure AD.
Requirements:
On login page, there should be a new option for users to login our system by connecting to their Azure AD.
Alternatively, if their employees are connected to their system and then visit to our website, they will be automatically logged in our website without entering username and password.
I have no knownledge about Azure AD SSO and still get confused even I did some search on google. Can someone give me some advice or hints?
Using Msal with Angular you can implement the Azure AD SSO login. There are multiple code samples and microsoft documents available to achieve your requirement.
Please go through the documentation and code Sample.
In the Angular sample there is a function as mentioned below which verifies the user credentials if the user is already logged in or not.
checkoutAccount() {
this.loggedIn = !!this.authService.getAccount();
}
I have to integrate SharePoint with my web app(just want to show the content of the user account).
For that, I have researched and I am looking for the SharePoint integration with REST API through OAuth process, Right now I found a different way where users have to create their SharePoint app and they have to share username and password and then I can get the data with their credential for the users.
The above approach is not a good option.
Please help if someone knows how to get share point content through the OAuth approach with REST.
You are able to connect to Microsoft Graph which hosts an API for the Office365 entities such as Calendar, Mail, Sharepoint etc.
In order to authenticate, you need to follow the OAuth 2.0 flow. This involves the generation of access tokens, which are then used in case of username/password.
More information about the MS Graph API and setting up authentication as well as a number of SDKs can be found: https://learn.microsoft.com/en-us/graph/auth-register-app-v2?view=graph-rest-1.0
I am using Kentico built in web part "Facebook Connect Logon" on my website. I have made all the required settings for facebook in Settings application.
I have provided all the token access in the developers facebook account for the application.
The functionality is working fine, I just want to know is it possible to get the profile picture of the user from their facebook account and use it on my website?
Any help will be greatly appreciated.
You can use the format specified for the Facebook user image in their API.
{user-id}/picture
Then use the type parameter to customise the size.