Juan Ignacio Fiorentino

Results 32 comments of Juan Ignacio Fiorentino

@coreyperkins @jasps When you write: ``` javascript passport.use(new OidcStrategy({ authorizationURL: 'my-auth-endpoint', tokenURL: 'my-token-endpoint', userInfoURL: 'my-user-info-endpoint', clientID: 'my-client', clientSecret: 'my-client-secret', callbackURL: '/callback' }, verify)); ``` Whay exactly is that function `verify`?...

Thanks @jasps for that fast reply. I understand now. Do u have a working example of this function?.

Thanks anyways man! @jasps I ended up with this function, it works. ``` javascript function (iss, sub, profile, done) { User.find({ email: profile._json.email }, function (err, docs) { if (docs.length...

True, but I think we can first migrate library, then add those features.

Ok, so we need to call logout manually and then do `return HttpResponseRedirect(url)` :thinking:

Not possible at this moment. Could be a good feature. I think creating two wrapper functions `get_token` and `store_token`, then having a setting like this `OIDC_TOKEN_STORAGE = 'cache'`. Seems not...

Hi @XeniaGabriela, right now is out of my budget. Maybe we can make a collect for this.

I was thinking doing something like [django-rest-framework-oauth](http://jpadilla.github.io/django-rest-framework-oauth/authentication/#oauth2authentication) does but using `oidc_provider.models.Client` and the token endpoint. What you've done in your case?.

Any piece of code will help @wojtek-fliposports :+1:

Create a branch for this called `feature-restframework`