-
Notifications
You must be signed in to change notification settings - Fork 1
Description
The tiledviewer component needs to more gracefully handle authenticating into Tiled. Currently it takes an api_key, either passed in through the props or, as of right now, pasted in through the UI of the tiled browser. This is sufficient for development and for very friendly users but not a long term solution.
Solving this has one significant challenge. There is not, as far as I know, any browser-based ui for logging users into tiled in a general purpose manner. This extremely stale PR was an attempt, but it never went anywhere. Solving this piece of the puzzle in a way that could be called by the Tiled Browser component would be amazing. Maybe a react component that could be opened as a modal dialog? How would it's login be communicated back so that the Tiled Browser would used it...set a cookie? Pass a bearer token to back to the Tiled Browser to send with every request?
@danielballan, any thoughts?