Skip to content

Various changes#39

Closed
ctriant wants to merge 1 commit into
IdentityPython:developfrom
ctriant:fix-sync
Closed

Various changes#39
ctriant wants to merge 1 commit into
IdentityPython:developfrom
ctriant:fix-sync

Conversation

@ctriant

@ctriant ctriant commented Sep 6, 2022

Copy link
Copy Markdown
Contributor

No description provided.

@ctriant ctriant marked this pull request as ready for review November 29, 2022 09:50
@c00kiemon5ter c00kiemon5ter reopened this Dec 8, 2022
@ctriant

ctriant commented Dec 9, 2022

Copy link
Copy Markdown
Contributor Author

@rohe could you please have a look at my comment in #38 when possible?

request_token, grant=True
)
except (UnknownToken, WrongTokenClass):
except (UnknownToken, WrongTokenClass, ToOld):

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

This change is important to properly mark token with active: false on the introspection endpoint, when the token has expired.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

(Maybe this should be split into its own PR, along with the relevant test case.)

request: Optional[Union[dict, Message]] = None,
authorization_token: Optional[str] = None,
endpoint=None, # Optional[Endpoint]
get_client_id_from_token=None,

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

is this a pointer to a function/method?

wouldn't it be better Optional[...]?

@peppelinux peppelinux requested a review from rohe January 20, 2023 11:39
@ctriant

ctriant commented Jan 20, 2023

Copy link
Copy Markdown
Contributor Author

I will try to break this MR into smaller ones, to facilitate the review process.
Mainly the changes regard to:

  • Client authentication
  • Token exchange enhancements
  • Introspection

@ctriant

ctriant commented Jan 23, 2023

Copy link
Copy Markdown
Contributor Author

Closing this MR in favor of #47, #48 and #49.
Trying to elaborate on each one separately. I'll transfer all comments to the appropriate MR

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.

3 participants