Skip to content

The ability to use different baseURLs on client and server #1004

Open
@sadeghi-aa

Description

@sadeghi-aa

Describe the feature

I'm not 100% sure if this is a 'new' feature, but I couldn't figure out a way to do it. I need to use different baseURLs for fetching the user endpoint on the server and the client. For example, I need to fetch it on the server using this URL:

http://172.30.30.2/api/user/

and using this one on the client:

https://somepublicdomain.com/api/user/

How would you implement this?

It could be done via specifying different envKey variables for client and server or by using different runtimeConfig variables.

Additional information

  • Would you be willing to help implement this feature?

Provider

  • AuthJS
  • Local
  • Refresh
  • New Provider

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementAn improvement that needs to be added

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions