
Product
Introducing Tier 1 Reachability: Precision CVE Triage for Enterprise Teams
Socket’s new Tier 1 Reachability filters out up to 80% of irrelevant CVEs, so security teams can focus on the vulnerabilities that matter.
django-openstax-accounts
Advanced tools
A Django app to read data from the logged-in user OpenStax account using the SSO cookie.
django-openstax-accounts
is a Django app to read data
from the logged-in user's OpenStax account using the SSO cookie.
Add the following settings to your settings file::
# OpenStax Accounts settings
SSO_COOKIE_NAME = "<oxa_env>"
SSO_SIGNATURE_PUBLIC_KEY = "<public_key_for_accounts>"
SSO_ENCRYPTION_PRIVATE_KEY = "<private_key_for_accounts>"
If you need to access the current user's OpenStax account UUID,
you can use the get_logged_in_user_uuid
function from openstax_accounts.functions
.
This function will a UUID.::
from django.shortcuts import render
from openstax_accounts.functions import get_logged_in_user_uuid
def my_view(request):
user_uuid = get_logged_in_user_uuid(request)
# function to do something with the uuid, like save it to your database or use for an API call
return render(request, "my_template.html", {"user_uuid": user_uuid})
FAQs
A Django app to read data from the logged-in user OpenStax account using the SSO cookie.
We found that django-openstax-accounts demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Socket’s new Tier 1 Reachability filters out up to 80% of irrelevant CVEs, so security teams can focus on the vulnerabilities that matter.
Research
/Security News
Ongoing npm supply chain attack spreads to DuckDB: multiple packages compromised with the same wallet-drainer malware.
Security News
The MCP Steering Committee has launched the official MCP Registry in preview, a central hub for discovering and publishing MCP servers.