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

[MOB-8225] Add env variable to turn off jwt requirement for sample app #351

Draft
wants to merge 5 commits into
base: AUT
Choose a base branch
from

Conversation

pauljung14
Copy link
Contributor

@pauljung14 pauljung14 commented Apr 4, 2024

JIRA Ticket(s) if any

Description

Branches off MOB-8047.
This was requested to resolve issues with testing AUT on Web SDK.
Can turn off JWT requirement (and consequently the need for VPN too) using an environment variable.

Test Steps

Set USE_JWT=false

  1. Set USE_JWT=false in /react-example/.env
  2. Use an API key configured to not require JWT
  3. Load react sample app
  4. Log in
  5. Expected: Can log in successfully
  6. Use an API key configured to require JWT
  7. Expected: Cannot log in

Do not set USE_JWT=false

  1. Do not set USE_JWT=false (comment it out)
  2. Use an API key configured to not require JWT
  3. Load react sample app
  4. Log in
  5. Expected: Cannot log in
  6. Use a valid API key and JWT secret in your env file
  7. Expected: Can log in successfully

@pauljung14 pauljung14 marked this pull request as ready for review April 4, 2024 20:22
@pauljung14 pauljung14 requested a review from mprew97 as a code owner April 4, 2024 20:22
@pauljung14 pauljung14 marked this pull request as draft April 4, 2024 20:46
Base automatically changed from MOB-8047 to AUT April 23, 2024 20:20
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

Successfully merging this pull request may close these issues.

None yet

3 participants