This is an app for managing authnetication in a SaaS product named Platform.
Project description
C```markdown
Integrating Platform Authentication Module
Step 1: Install the Platform Authentication Module
pip install platform-authentication
Step 2: Add to Installed Apps
Update your project's INSTALLED_APPS
setting in settings.py
:
INSTALLED_APPS = [
# ...,
'platform_authentication',
]
Step 3: Configure Middleware
Add the JWTMiddleware
to your project's middleware in settings.py
:
MIDDLEWARE = [
# ...,
'platform_authentication.middleware.JWTMiddleware',
# ...,
]
Step 4: Fake Migrations
Run the following command to fake migrations for the platform_authentication
app:
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.
# 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.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for platform_authentication-0.0.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 36c5ae949e453462f1ae319e1c1ecc0ff62741451103f43eb29cc5ed314b1a77 |
|
MD5 | 21b426ac1d5bdee156be09580eee53fe |
|
BLAKE2b-256 | 48d056a82218a6f335125b0b5c1059eefbc048586c64e6e471c91a64a26b1e40 |
Hashes for platform_authentication-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b9bb664f4ef68a0fecadf40e9c83c6d07c1029fdaab8b943a67450803b726888 |
|
MD5 | de1e6eea5bddc873d3f3bdca44f69297 |
|
BLAKE2b-256 | ac850df9a8eaf2e340735707fd4c4ea9775cdd8d568875b6dda33674f72d1376 |