Skip to content

Can't open the frontend in GitHub Codespaces #23

@pamelafox

Description

@pamelafox

I am following the path from the Foundry app preview to use the app.

Image

Steps:

  1. I opened this repo in GitHub Codespaces
  2. I created a .env file with the values
  3. I used the default VS Code build task
  4. I opened the localhost:5173 port from Codespaces
  5. That redirects to this login URL:
    https://login.microsoftonline.com/undefined/oauth2/v2.0/authorize?client_id=undefined&scope=api%3A%2F%2Fundefined%2FChat.ReadWrite%20openid%20profile%20offline_access&redirect_uri=https%3A%2F%2Fglorious-space-dollop-7pjx9rqrgfxp5q-5173.app.github.dev&client-request-id=019cf787-9639-7f66-bcc7-fcc72dc514c6&response_mode=fragment&client_info=1&nonce=019cf787-963b-762c-9e53-91c86648bd44&state=eyJpZCI6IjAxOWNmNzg3LTk2M2ItNzY3My04ZDU3LWIxYTVhZjRlMWFiYSIsIm1ldGEiOnsiaW50ZXJhY3Rpb25UeXBlIjoicmVkaXJlY3QifX0%3D&x-client-SKU=msal.js.browser&x-client-VER=4.29.0&response_type=code&code_challenge=1iGonOlSRxx1TcwA3ruoWG4BUSw5svPn88VDsK6-hJs&code_challenge_method=S256

And that shows this error:

AADSTS900023: Specified tenant identifier 'undefined' is neither a valid DNS name, nor a valid external domain.

Presumably it's because I did not login, but the steps in Foundry do not detail the login step.
Please put the minimal steps in the Foundry dialog, or link to the appropriate spot in the README.
I assume that I do not need to run azd up, since the resources already exist, but perhaps I am wrong.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions