Skip to content

Agentuity Auth requires trustedOrigins, may fail on deploy/generated urls. #620

@Huijiro

Description

@Huijiro

Bobby went to test the Ops Center with auth and ran into:

Image

Fixed with the code on createAuth:

export const auth = createAuth({
	// ...
	trustedOrigins: ['PROD_URL'], // had to add here to make it work.
});

Since it looks like it needs the URLs here to pass it's security checks it will error out accessing through generated URL, like deployments.

We going to need to figure this out.

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