Git Product home page Git Product logo

edu-platform-identity's Introduction

Edu-platform_Identity

This is the Identity Service project for handling authentication, authorization, and user identity details. It ensures secure and efficient management of user credentials and identity information.

Table of Contents

Introduction

IdentityService is designed to provide robust authentication and authorization functionalities for applications. It handles user credentials and identity details, ensuring secure access control and identity management. This service integrates seamlessly with various components of an application to provide a unified security framework.

Getting Started

Follow these instructions to set up the Identity Service on your local machine for development and testing purposes.

Prerequisites

The service is built on .NET 6 and uses the following key libraries:

IdentityServer4: for implementing OAuth 2.0 protocol. Entity Framework Core: for handling database operations related to identity data.

Installation

For non-Windows operating systems (Linux/MacOS), install .NET 6:

Install .NET on macOS/Linux (https://learn.microsoft.com/en-us/dotnet/core/install/macos) Then, proceed with the following steps:

*# Clone the repository git clone https://github.com/VitalikMatvieiev/Edu-platform-Identity.git

*# Change directory cd IdentityService

*# Restore dependencies dotnet restore

*# Build the project dotnet build

*# Run the project dotnet run

Usage

The service configuration is stored in appsettings.json. This file includes settings for:

  • Database connection strings.
  • IdentityServer configurations.
  • API resources and clients.

Features

  • User Authentication: Secure login mechanism for users.
  • User Authorization: Manage access control based on user roles and claims.
  • OAuth 2.0 and custom JWT middleware: Support for modern authentication and authorization protocols.
  • User Management: CRUD operations for managing user credentials and details.

Security

Emphasize the security practices and protocols implemented in the service, like encryption of sensitive data, secure token handling, and regular security updates.

edu-platform-identity's People

Contributors

nazaziik avatar vitalikmatvieiev avatar

Stargazers

HuaFangYun avatar  avatar

Watchers

 avatar

edu-platform-identity's Issues

Create identity service - base adjustments

Description:

This task involves the creation of an identity service to manage user authentication and authorization. Additionally, base adjustments are required to ensure seamless integration with the API Gateway and microservices within our architecture.

Acceptance Criteria:

  • Identity service successfully handles user registration, authentication, and authorization.
  • API Gateway routes authentication requests to the identity service.
  • Microservices seamlessly integrate with the identity service for user-related functionalities.
  • Token-based authentication is implemented and tested for secure communication.

Identity service - Add refresh token

Description:
This task involves enhancing the identity service to implement refresh token functionality, providing a secure and seamless mechanism for obtaining new access tokens without requiring user reauthentication.

Acceptance Criteria:

  • Identity service successfully generates and validates refresh tokens.
  • Token refresh endpoint is operational, issuing new access tokens based on valid refresh tokens.
  • Token rotation strategy is implemented and adheres to defined policies.
  • Testing demonstrates the secure and reliable functioning of the refresh token functionality.

Additional Information:

  • Collaborate with the frontend team to ensure proper handling of refresh tokens within user interfaces.
  • Ensure compliance with security best practices and standards.
  • Verify that the refresh token functionality aligns with the overall microservices architecture.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.