Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

responseType #31

Open
rrubio opened this issue Mar 6, 2017 · 3 comments
Open

responseType #31

rrubio opened this issue Mar 6, 2017 · 3 comments

Comments

@rrubio
Copy link

rrubio commented Mar 6, 2017

Hi Guys,

How/Where can i assign the "responseType", currently get error of "Property 'responseType' does not exist on type 'OAuthService'"

Cheers, Rodrigo

@nathanielbuck
Copy link

I would also like to set a different response_type. I'd like to set it to code for requesting an authorization code. Here is a section of the OAuth 2.0 spec:

response_type
REQUIRED. The value MUST be one of "code" for requesting an authorization code as described by Section 4.1.1, "token" for requesting an access token (implicit grant) as described by Section 4.2.1, or a registered extension value as described by Section 8.4.
-- https://tools.ietf.org/html/rfc6749#page-19

Currently, the responseType can't be set manually, and can only be set to token or id_token+token (if OIDC is being used).

@GaneshKakarl
Copy link

I am also facing same issue, Is there any quick fix

@nathanielbuck
Copy link

I made a pull request in the angular-oauth2-oidc project (the updated version of this library).

manfredsteyer/angular-oauth2-oidc#53

However, @manfredsteyer mentioned that the library isn't intended to support the code flow:

manfredsteyer/angular-oauth2-oidc#52 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants