Repository navigation
Conversation
uniqueg
left a comment
There was a problem hiding this comment.
Apart from missing unit tests, also the requirement for get_conf() and get_conf_type() should be lifted (see comment for details)
|
This is coming along great @kushagra189 - thanks a lot! Now let's get the code coverage up to 100% ;-) |
|
|
||
|
|
||
| """ | ||
| Test for checking authorization requirement |
There was a problem hiding this comment.
Please add those as docstrings to the function headers as described in PEP257. For example:
def my_func():
"""Docstring describing what my_func() does"""
<function body>There was a problem hiding this comment.
I have done this and also fixed a typo (changed useinfo to userinfo) in the latest commit
There was a problem hiding this comment.
I was about to commit the same :p
There was a problem hiding this comment.
https://github.com/elixir-cloud-aai/foca/tree/dev/tests/config I'll correct these files soon. 😅
|
Wow, nice, 90+% 💪 |
- Add a decorator that validates JWT tokens via either the OICD-compliant IdP's /userinfo endpoint and/or the public key Co-authored-by: Alex Kanitz <[email protected]>
/userinfoendpoint and/or the public keyCloses #29