Coder Social home page Coder Social logo

Integrating with keycloak. about simple_auth HOT 7 CLOSED

clancey avatar clancey commented on August 11, 2024
Integrating with keycloak.

from simple_auth.

Comments (7)

peterpoliwoda avatar peterpoliwoda commented on August 11, 2024 2

Hey @intako have you got an example usage of Keycloak within a Flutter app? I'm looking to include it in a nicely packaged networking service used within my app to use within other screens.

from simple_auth.

Clancey avatar Clancey commented on August 11, 2024 1

I agree, this needs more documentation. Over all it's really simple to add new things in. Standard OAuth, is really as simple as passing the right arguments in. https://github.com/Clancey/simple_auth/blob/master/simple_auth/lib/src/providers/amazon.dart Some things do very custom things like Dropbox

Feel free to ask more questions if you run into anything specific or if you don't understand something. You can also ask in Gitter

from simple_auth.

dylan-dinh avatar dylan-dinh commented on August 11, 2024 1

I finally used an other package to do it.
But the package wouldn't work as dependencies so I downloaded it and copy paste in my project :
https://pub.dev/packages/openid_client

from simple_auth.

Clancey avatar Clancey commented on August 11, 2024

Now that you have successfully integrated, any thoughts on what should be added to the documentation?

from simple_auth.

intako avatar intako commented on August 11, 2024

I think just little example of connecting simple auth with custom identity provider would be helpful, just basic stuff. As I mentioned before, I was integrating with keycloak, so I made it using AmazonApi class as example, just replaced all necessary arguments with parameters from response of keycloak discovery url and all is working now.

from simple_auth.

dylan-dinh avatar dylan-dinh commented on August 11, 2024

@intako hey i'm using keycloak as well for linkedin facebook and google do you have a sample like the AmazonApi you took as example ?

from simple_auth.

IRuFFeYI avatar IRuFFeYI commented on August 11, 2024

@intako Hey i try to realise an authentication flow with Keycloak. It doesn't work atm. Could you maybe post your solution here?

from simple_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.