Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Exchange code token logic#81

Open
javiert-okta wants to merge 16 commits into
redirection-server-logicfrom
exchange-code-token-logic
Open

Exchange code token logic#81
javiert-okta wants to merge 16 commits into
redirection-server-logicfrom
exchange-code-token-logic

Conversation

@javiert-okta
Copy link
Copy Markdown
Contributor

@javiert-okta javiert-okta commented Jan 28, 2026

By submitting a PR to this repository, you agree to the terms within the Auth0 Code of Conduct. Please see the contributing guidelines for how to create and submit a high-quality PR for this repo.

Description

The following PR adds logic to the step two component that exchanges the code received to an auth token. The changes include:

  • Add method to restart process and delete local storage data
  • Add method to handle the code exchange and show success or error according to the design and request response
  • Add "rawjson" type to Codeblock
  • Generate request data for step two

Screenshots:

  • Erro verifying UI
Screenshot 2026-02-26 at 3 59 06 PM
  • Received Token
image

References

Link to Figma design

Testing

IMPORTANT:

The functionality for OIDC can only be tested on a specifically controlled url which is why the following link should be used:
OIDC TESTING URL

  • Verify that the app starts with the step one selected and has the correct request info on display
  • Click on Start and verify you are redirected to the auth0 tenant login page
  • Login and verify that the response is seen on the step two and is visible
  • Step one is now hidden
  • Click on Exchange and confirm the token is received and displayed
  • Test on mobile the same process and confirm the styling and functionaliy is ok

Checklist

  • I have added documentation for new/changed functionality in this PR or in auth0.com/docs
  • All active GitHub checks for tests, formatting, and security are passing
  • The correct base branch is being used, if not the default branch

@github-actions
Copy link
Copy Markdown

@github-actions
Copy link
Copy Markdown

@github-actions
Copy link
Copy Markdown

@github-actions
Copy link
Copy Markdown

Comment thread src/features/debugger/components/steps/debugger-steps.component.tsx Outdated
Comment thread src/features/debugger/components/steps/step-two/step-two.component.tsx Outdated
Comment thread src/features/debugger/components/steps/step-two/step-two.component.tsx Outdated
Comment thread src/features/debugger/components/steps/debugger-steps.component.tsx Outdated
Comment thread src/features/debugger/components/steps/step-two/step-two.component.tsx Outdated
@github-actions
Copy link
Copy Markdown

@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 7, 2026

@jonathanp-okta jonathanp-okta force-pushed the redirection-server-logic branch from 7742529 to 078ac00 Compare May 21, 2026 14:17
@github-actions
Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants