Skip to content

stories2/LogSystemPOC

Repository files navigation

LogSystemPOC

POC the log system

Objective

senario required grouping field description
Recognize which platform and feature is the most crash issue that the client uses. user-agent, trace-id, feature-id Grouping platform using user-agent keyword and check the trace-id keyword printed twice(req, res) or not. If it only shows once, that means it crashed. And then group the feature using feature-id to find out what is the most problem.
Figure out which part having trouble with a specific client. trace-id, session, service-id, feature-id First, filtering a specific client using session. Grouping the trace-id for travel the process. And find out which feature crashed in which service using feature-id and service-id
Figure out which service's instance is failed trace-id, service-id, hostname If trace-id is only printed once, then it means crashed. Group by service-id to find which service is mostly crashed. And then filtering using the hostname to specify the instance.

Demo features

  • MS SSO
  • MS Azure AD
  • MS Oauth

Documents

3rd-party services

name SSO MS Azure AD MS OAuth Price ETC
Okta O O ? https://www.okta.com/pricing/ ($2 user / month -- SSO) Doc: https://developer.okta.com/docs/guides/quickstart/main/ , Ref: https://www.okta.com/partners/microsoft/ , https://help.okta.com/en-us/Content/Topics/Provisioning/azure/azure-integrate-main.htm
Auth0 O O ? same as Okta https://auth0.com/pricing (If MAU is 7,000+ then, need to contact them) Doc: https://auth0.com/docs/ , Ref: https://auth0.com/docs/authenticate/identity-providers/enterprise-identity-providers/azure-active-directory/v2
OneLogin O O ? https://www.onelogin.com/product/pricing ($2 user / month -- SSO) Doc: https://developers.onelogin.com/ , Ref: https://www.onelogin.com/partners/technology-partners/office-365
Firebase O O O https://firebase.google.com/pricing?hl=ko (Free for 50,000 MAU / Free for 50 MAU SAML or OIDC) Doc(Auth): https://firebase.google.com/docs/auth, Doc(OAuth): https://firebase.google.com/docs/auth/web/oauth , Ref: https://firebase.google.com/docs/auth/web/saml?hl=ko , https://firebase.google.com/docs/auth/web/microsoft-oauth?hl=ko

Okta and auth0

How to integrate SSO using Okta

Check this link.

ChatGPT Help

  • Me
Hi, i have a question. In my company is planning to integrate “ms sso”, “ms AD” and “ms oauth” to our service.
So, i have to make some POC.
Could u recommend me how to do that things or 3rd party services?
  • ChatGPT
Certainly! Integrating "MS SSO" (Microsoft Single Sign-On), "MS AD" (Microsoft Active Directory), and "MS OAuth" (Microsoft's implementation of the OAuth protocol) can provide a seamless authentication and authorization experience for your service. Here are some recommendations on how to approach the integration and potential third-party services you can consider:

1. Microsoft SSO (Single Sign-On): Microsoft Azure Active Directory (Azure AD) is a popular choice for implementing SSO. It provides a robust identity and access management solution with support for various authentication protocols such as SAML and OpenID Connect. You can explore Azure AD documentation and guides to understand the integration process.

2. Microsoft AD Integration: If your organization already has an on-premises Active Directory infrastructure, you can leverage Azure AD Connect to synchronize identities between your on-premises AD and Azure AD. This integration allows you to extend your existing AD infrastructure to the cloud, enabling seamless authentication and user management across both environments.

3. Microsoft OAuth: OAuth is an open standard for authorization and is widely used for secure API authentication. Microsoft provides Azure Active Directory (Azure AD) as an OAuth provider. You can register your application with Azure AD to obtain the necessary client credentials and configure the OAuth flow for your service.

4. Third-Party Services: If you prefer not to handle the complexities of integration yourself, there are third-party identity providers and authentication services available. Some popular options include Okta, Auth0, and OneLogin. These services provide comprehensive identity management solutions, including SSO, OAuth support, and integration with Microsoft technologies.

When conducting your POC, consider the specific requirements of your service, the existing infrastructure, and the level of control and customization needed. Microsoft's official documentation and the documentation of third-party services can guide you through the integration process step-by-step. Additionally, reaching out to Microsoft support or third-party service providers for assistance can be helpful if you encounter any challenges.
  • Me
Is the firebase can do it too?
  • ChatGPT
Yes, Firebase can also be used for authentication and authorization purposes in your service. Firebase Authentication is a service provided by Google's Firebase platform that offers a secure and easy-to-use authentication system for web, mobile, and server-side applications. While Firebase Authentication does not directly integrate with "MS SSO" or "MS AD" as mentioned in your question, it does provide its own authentication mechanisms and can work independently or alongside other identity providers.

With Firebase Authentication, you can support various authentication methods such as email/password, social logins (Google, Facebook, etc.), phone number verification, and more. Firebase also supports OAuth authentication, allowing you to integrate with popular OAuth providers like Microsoft, Google, and others.

If your intention is to solely rely on Firebase Authentication and not specifically integrate with "MS SSO" or "MS AD," Firebase can be a suitable option. However, if you require direct integration with Microsoft technologies and want to leverage existing "MS SSO" or "MS AD" implementations, using Microsoft's solutions like Azure AD would be more appropriate.

Consider your specific requirements, the existing infrastructure, and the level of integration you need while deciding whether to use Firebase or Microsoft's solutions for authentication and authorization in your service.