Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OAuth for EntraId Setup #2

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 23 additions & 2 deletions docs/Integrate Faction into OAuth Solutions.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
---
![image](https://github.com/user-attachments/assets/b181ae83-d6ff-40ef-868d-9e637c7fde5f)---
tags: [ Authentication, Core Features]
date: 2023-12-18
---
Expand Down Expand Up @@ -39,6 +39,27 @@ Your Setup should look like the following:
11. Take note of the **OpenId Configuration** URL
![](files/Pasted%20image%2020231218082551.png)


## Entra Id Setup
**Proper roles are required to register Enterprise Application (at least Cloud Application Administrator).
1. Log into your [Entra Id Admin Panel](https://entra.microsoft.com/#home)
2. Go to the **Applications** -> **Enterprise Applications** -> **All Applications**
(follow [this](https://learn.microsoft.com/en-us/entra/identity/enterprise-apps/add-application-portal))
3. Create your own application (non-gallery)
![image](https://github.com/user-attachments/assets/c5951b6a-53e1-4a43-b6c2-07ee0c0a375d)
4. Go to *App Registrations** and select just created app
![image](https://github.com/user-attachments/assets/8f429f76-5fc1-4d6d-a214-410f89d57696)
5. Generate secret for App
![image](https://github.com/user-attachments/assets/231d2be5-6e06-4503-bdaf-253853af4f65)
6. Obtain for Faction:
- Application Id (Client Id) of an app
- Entra URL for OIDC, commonly: *https://login.microsoftonline.com/$(tenantId)/v2.0/.well-known/openid-configuration*
- Application Secret just created
7. Set up proper Platform configuration. Go to **Authentication** and Add a platform
- WebApplication (URL: *https://example.factionsecurity.com/oauth/callback?client_name=OidcClient* - change example for Your faction tenant name)
![image](https://github.com/user-attachments/assets/06b47005-e8b6-4aa3-9003-bf1d66ff8679)
![image](https://github.com/user-attachments/assets/74adc92f-d571-44af-82f1-d0a5a93992e2)
8. In the Enterprise application panel assign proper users (or group) to the Enterprise application.

## Configure Faction
1. Log into **Faction** as an admin user.
Expand All @@ -61,4 +82,4 @@ Your Setup should look like the following:

![](files/Pasted%20image%2020231218082756.png)

When the new user reaches the Login Screen they can enter just their username without a password and click **Login**. Faction will redirect the user to the configured Authentication Provider and redirect back.
When the new user reaches the Login Screen they can enter just their username without a password and click **Login**. Faction will redirect the user to the configured Authentication Provider and redirect back.