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

[Request] Support for OAuth implicit code flow #141

Open
KS-HTK opened this issue Feb 6, 2022 · 0 comments
Open

[Request] Support for OAuth implicit code flow #141

KS-HTK opened this issue Feb 6, 2022 · 0 comments
Labels
enhancement New feature or request mock-api Relates to the `mock-api` feature.

Comments

@KS-HTK
Copy link

KS-HTK commented Feb 6, 2022

Would love to see support for OAuth implicit code flow, as described here

Had a bit difficulty getting it to work requiring a lot of requests to the actual api endpoint.
It would be great if I could use the Mock-Api for this.

A request would look like this: (user visits this url)
http://localhost:8080?redirect_uri=<redirect URI>&response_type=token&client_id=<client id>[&scope=<scope>]

A response would result in the user getting redirected to:
<redirect URI>#access_token=<access token>&scope=<scope>&token_type=bearer

<> required
[] optional

For the mock-api I do net think including the scope capability is a priority.
Simply returning a access token for any user with full scope would be a great start.

P.S. I know, in production api request and redirect_uri should be https (because of access token in hash section of url)

@lleadbet lleadbet added enhancement New feature or request mock-api Relates to the `mock-api` feature. labels Feb 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request mock-api Relates to the `mock-api` feature.
Projects
None yet
Development

No branches or pull requests

2 participants