providers/oauth2: rewrite introspection endpoint to allow basic or bearer auth
This commit is contained in:
@ -202,11 +202,6 @@ class OAuth2Provider(Provider):
|
||||
),
|
||||
)
|
||||
|
||||
@property
|
||||
def scope_names(self) -> List[str]:
|
||||
"""Return list of assigned scopes seperated with a space"""
|
||||
return [pm.scope_name for pm in self.property_mappings.all()]
|
||||
|
||||
def create_refresh_token(
|
||||
self, user: User, scope: List[str], id_token: Optional["IDToken"] = None
|
||||
) -> "RefreshToken":
|
||||
|
||||
Reference in New Issue
Block a user