wso2 / wso2/docs-apim

Issue in generating access token with custom OAuth 2.0 grant type

Open
#5,982 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

API-M-3.2.0 Severity/Critical Type/Bug
Dominant language
CSS
Stars
99
Forks
708
Avg merge
1d 7h
Merged PRs (30d)
22

Description

We followed doc [1] to configure a custom grant type in WSO2 APIM 3.2.0, but the custom-grant-1.0.0.jar given in doc[1] doesn't work properly, and we are unable to generate access token using the new mobile grant type by invoking the token API for any given Devportal application as seen below.

image
[1]: https://is.docs.wso2.com/en/5.9.0/learn/writing-a-custom-oauth-2.0-grant-type/#resources

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the linked custom OAuth 2.0 grant documentation and its custom-grant-1.0.0.jar resource, then reproduce the token API call for a Devportal application using the mobile grant type. Compare the result with the reported failure; done means the documented custom grant generates an access token.

Written by the indexing model from the issue text.

Assessment

Domain
api, authentication
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.