Giter Site home page Giter Site logo

Comments (8)

Foxeye73 avatar Foxeye73 commented on September 16, 2024 1

I actually agree with this need. I would like to track calls to my API, and if there was userinfo I would be able to add that to usage tracking

from django-keycloak-auth.

marcelo225 avatar marcelo225 commented on September 16, 2024

Hi, @Madko
Sorry about my answer delay... so.... the main idea about this lib is simply to get the user roles directly.
What do you need specifically about user info in your API? All information on the bearer token?
best regards!

from django-keycloak-auth.

Madko avatar Madko commented on September 16, 2024

Yes getting the roles works perfectly and it's really great for managing permissions. I need to get the username in the backend so I can add it to data pushed by the client. I don't want to trust the username sent from the frontend.

from django-keycloak-auth.

marcelo225 avatar marcelo225 commented on September 16, 2024

Hi @Madko and @Foxeye73
I'm gonna code this functionality soon, right?
So... I need you to get patient with me, but I'm actually busy in the last days.

from django-keycloak-auth.

Foxeye73 avatar Foxeye73 commented on September 16, 2024

I appreciate your time @marcelo225. I'm even keen to get involved if you need.

from django-keycloak-auth.

marcelo225 avatar marcelo225 commented on September 16, 2024

Hi, @Foxeye73 and @Madko
I'm so sorry about my delay I had some personal problems to solve, though.
I've got a PR about this issue.
Please, check it out before merging and pushing a new version with this functionallity.

Best regards!!

from django-keycloak-auth.

marcelo225 avatar marcelo225 commented on September 16, 2024

(PR)[https://github.com//pull/16] was merged successfully!
Enjoy it!

from django-keycloak-auth.

Foxeye73 avatar Foxeye73 commented on September 16, 2024

Wonderful! Thank you

from django-keycloak-auth.

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.