simo

Results 394 comments of simo
trafficstars

It's a bug: ```markdown - 1 - 2 - 3 - 4 - 5 - 6 - 7 - 8 - 9 ``` marked compiler: ```html 1 2 3 4...

@tivie I think lots of people are using just 2 spaces for nested lists on GitHub readmes for example. I'm fine with using `disableForced4SpacesIndentedSublists` because this is exactly what I...

I've done it with `oidc-provider`: ```json { "panva": { "authorize_url": "http://localhost:4000/auth", "access_url": "http://localhost:4000/token", "oauth": 2, "key": "foo", "secret": "bar", "scope": [ "openid" ], "custom_params": { "login_hint": "s" } } }...

I used Express, I think it's ok, but you can go to the `examples` folder in this repo and pick any of the supported HTTP frameworks. `oidc-provider` is built on...

@aunsuwijak the rest of the configuration in my case was not relevant to this example. I will try to create a simple working example, but in the meantime, the `/auth`...

Here is a working example: ## provider.js ```js var Provider = require('oidc-provider') var provider = new Provider('http://localhost:4000', { clients: [ { client_id: 'foo', client_secret: 'bar', redirect_uris: [ 'http://localhost:3000/connect/panva/callback' ] }...

Thanks for the feedback @flyboarder! Grant is not an OpenID Connect Certified client (yes there is such thing), so it doesn't claim to support the whole spec. Grant is more...

By default Grant returns the tokens + the `raw` key. In case you use the `response` configuration explicitly then you can allow the `raw` key to be returned like this:...

Another approach is to set `response: ['raw']` instead. The `raw` key contains everything returned from the authorization server, so you can get the tokens from there plus the expires_in key...

Thanks, @justsml. However `tslint` seems to throw, either: > TS1336: An index signature parameter type cannot be a type alias. or: > TS1337: An index signature parameter type cannot be...