Skip to content

Commit

Permalink
fix(typescript): allow 'id_token token' as a response type
Browse files Browse the repository at this point in the history
  • Loading branch information
fiznool authored and panva committed Jan 8, 2020
1 parent 49d8947 commit 61c486c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,7 @@ export const custom: {
/**
* @see https://medium.com/@darutk/diagrams-of-all-the-openid-connect-flows-6968e3990660
*/
export type ResponseType = 'code' | 'id_token' | 'code id_token' | 'code token' | 'code id_token token' | 'none';

export type ResponseType = 'code' | 'id_token' | 'code id_token' | 'id_token token' | 'code token' | 'code id_token token' | 'none';
/**
* @see https://github.com/panva/node-openid-client/blob/master/docs/README.md#client-authentication-methods
*/
Expand Down

0 comments on commit 61c486c

Please sign in to comment.