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

Running SAML2 for Okta on a local server pointing to the production database #159

Open
hugokitano opened this issue Apr 27, 2021 · 0 comments

Comments

@hugokitano
Copy link

Hi there, thanks for this package. I'd like to be able to run the server locally while pointing at the production database. For our specific production database, we have the following lines of code

'ASSERTION_URL': 'http://our-url.com, # Custom URL to validate incoming SAML requests against
'ENTITY_ID': 'our-url.com/saml2_auth/acs/', # Populates the Issuer element in authn request

When I try to run
python manage.py runserver --settings=settings.production
and expect to use the development server at http://127.0.0.1:8000/, I get redirected to the url above instead of the local port. What's the best way to deal with this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant