Database relatedPlugins related🤔QuestionOAuth related
I’ve got an open source app and am trying to make it easy for people to contribute to My API is separate from the frontend for my app, so you’re able to develop locally using the production API which is a super cool option as you don’t have to set up any database or mock data
I want to let people be able to also sign in to localhost or our preview url suffix (answeroverflow.dev) so that way they can also develop features that require auth like the dashboard
Current plan is to have localhost or .dev open answeroverflow.com, and then an approve button on there that calls an api endpoint to get the cookie and passes it back to the preview over window.post message so it’s not in the URL but that feel hacky
Is the above method secure or is there an alternate approach to use? Would love to figure this one out as it’s super powerful