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

iss_24 🔒 auth token check for urbanair #538

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open

Conversation

dpshelio
Copy link
Collaborator

@dpshelio dpshelio commented Sep 21, 2020

Summary

Adds authentications token check

Type of change

  • Bug fix
  • New feature
  • Infrastructure
  • API
  • Pipeline

Additional dependencies

Tests

How has the code been tested?
So far.. manually...

Issues fixes

List any issues this closes:

Checklist

Please ensure you have done the following:

  • Code conforms to the projects style guidelines

  • New code documented using google docstyle

  • Updated documentation of any changed code

  • Any additional dependencies have been added to the appropriate location (e.g. setup.py or requirements.txt)

  • Unit tests written and passing on local database. Tests should prove that fix is effective or new feature works as expected

  • Code needs to run on the cluster? Tag database administrator in the pull request review to configure.

Reviewer

@dpshelio dpshelio added API Work on UrbanAir API Security Related to API or infrastructure security labels Sep 21, 2020
token_decoded = jwt.decode(token, json.dumps(decode_key),
audience=f"{azure_directory}/{this_app_id}",
issuer=iss,
algorithms=header['alg'])
Copy link
Collaborator

@harryjmoss harryjmoss Sep 29, 2020

Choose a reason for hiding this comment

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

Looks like a couple of lines in this file are causing the travis build to fail on the black --check */ stage

@OscartGiles OscartGiles removed their request for review June 12, 2024 10:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
API Work on UrbanAir API Security Related to API or infrastructure security
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants