Skip to content

Feature/itp 2102 add oauth - #513

Closed
perekatypola wants to merge 7 commits into
Parallels:masterfrom
vizor-games:feature/ITP-2102_add_oauth
Closed

Feature/itp 2102 add oauth#513
perekatypola wants to merge 7 commits into
Parallels:masterfrom
vizor-games:feature/ITP-2102_add_oauth

Conversation

@perekatypola

Copy link
Copy Markdown

Description

Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.

Fixes # (issue)

Type of change

Please delete options that are not relevant.

  • Documentation Change
  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

Checklist:

  • I have performed a self-review of my own code
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have run tests (pytest) that prove my fix is effective or that my feature works
  • I have updated the CHANGELOG.md file accordingly
  • I have added tests that prove my fix is effective or that my feature works

Comment thread app.py

if not all([OIDC_CLIENT_ID, OIDC_CLIENT_SECRET, OIDC_SERVER_METADATA_URL]):
raise RuntimeError(
"Ошибка: OIDC_CLIENT_ID, OIDC_CLIENT_SECRET, и OIDC_SERVER_METADATA_URL "

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this would need to be written in english

Comment thread app.py

@app.route('/')
def index():
if 'user' in session:

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What would happen if users do not want authentication or oath?

@perekatypola

Copy link
Copy Markdown
Author

Sorry, this pull request was made by mistake and is not ready for review yet

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

Successfully merging this pull request may close these issues.

2 participants