Metadata-Version: 2.1
Name: platform-authentication
Version: 0.0.2
Summary: This is an app for managing authnetication in a SaaS product named Platform.
Author: Vishwajeet Kale
Author-email: vishwajeet.kale.v2stech@gmail.com
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Description-Content-Type: text/markdown

C```markdown
# Integrating Platform Authentication Module

## Step 1: Install the Platform Authentication Module

```bash
pip install platform-authentication
```

## Step 2: Add to Installed Apps

Update your project's `INSTALLED_APPS` setting in `settings.py`:

```python
INSTALLED_APPS = [
    # ...,
    'platform_authentication',
]
```

## Step 3: Configure Middleware

Add the `JWTMiddleware` to your project's middleware in `settings.py`:

```python
MIDDLEWARE = [
    # ...,
    'platform_authentication.middleware.JWTMiddleware',
    # ...,
]
```

## Step 4: Fake Migrations

Run the following command to fake migrations for the `platform_authentication` app:

```bash
python manage.py migrate platform_authentication --fake
```

## Step 5: Secret Key Replacement

Replace the secret key in your child project with the secret key from `platform-authentication`. Keep the secret key secure.

```python
# Example:
# parent_project_secret_key = '<some_secret_key1>'

# child_project_secret_key = '<parent_project_secret_key>'
```

**Note:** Ensure to replace placeholder values (`<some_secret_key1>`, `<parent_project_secret_key>`) with your actual secret keys.

Now, your Django project is integrated with the `platform_authentication` module for streamlined user authentication.
```
