RWTH-EBC / FiLiP

FIWARE Library for Python (FiLiP) to work with FIWARE API
BSD 3-Clause "New" or "Revised" License
23 stars 13 forks source link

Function to fetch and refresh tokens #316

Open SBlechmann opened 1 month ago

SBlechmann commented 1 month ago

Is your feature request related to a problem? Please describe. Currently, FiLiP only offers a way to handle Bearer tokens in the header but there is no function or example how to fetch (and refresh) a token. Imo, we should provide a function that does so and adjust the example.

Describe the solution you'd like Implement our internal functions for the keycloak_token_handler in FiLiP.

djs0109 commented 3 weeks ago

Good points. I would integrate it as an example that works for now. There are a lot of third-party libs that can authenticate the session/client/etc, that can be used by FiLiP clients. Therefore, it will be a bit redundant for FiLiP to support and maintain this functionality.

github-actions[bot] commented 2 weeks ago

Branch 316-Function-to-fetch-and-refresh-tokens created!