Giter VIP home page Giter VIP logo

Comments (3)

yannicschroeer avatar yannicschroeer commented on July 18, 2024

Hi @kaustuv-zb,

Indeed we do not have any support for logouts yet.

Regarding the explicitness of our docs; could you please provide specific information on what you're missing here? I agree that it could definitely use some improvement, but I don't want to unnecessarily prolong the docs as well.

In general, we do not have the capacity to actively develop this library at the moment, but pull requests are always welcome and reviewed conscientiously :)

from fastapi-keycloak.

kaustuv-zb avatar kaustuv-zb commented on July 18, 2024

Hi @yannicschroeer,

Thank you for getting back on this.

I require 2 things right now:

  1. How to use the APIs with the tags -> [admin-cli] and [auth-flow].
  2. User logout.

Once that it added, your docs and APIs can be much better than what it is now.

Best regards.

from fastapi-keycloak.

JonasScholl avatar JonasScholl commented on July 18, 2024

Hi @kaustuv-zb,

the API endpoints with the tags admin-cli and auth-flow are basically proxies for some common requests to Keycloak. The purpose of them is to have a unique interface so that users of the API don't have to call Keycloak directly, they should be able to only interact with the API. Since the names of those endpoints mirror exactly the endpoints / functionalities from Keycloak there is not always an explicit documentation for this, it wouldn't add more information (however, PRs always welcome for this :D). fastapi-keycloak is not an own auth solution and just provides some functionality for integrating Keycloak in FastAPI, so if you want to know how to use the endpoints you can find a more detailed explanation for most of the endpoints in the Keycloak documentation.

Regarding the user logout:
As @yannicschroeer already mentioned, we are always open and thankful for any contributions / pull requests since we maintain this project only by the way and don't have time for implementing every new feature.
Additionally I just wanted to mention that already issued tokens are still valid after the logout, it just terminates the session on the side of Keycloak 😄

Best regards.

from fastapi-keycloak.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.