Skip to content

Cookie based auth #241

Closed
Closed
@joepio

Description

@joepio

See https://github.com/atomicdata-dev/atomic-data-docs/pull/138/files#

  • Create an Authentication Resource with a suiting expiration date (e.g. 1 hrs, for testing purposes even shorter)
  • Sign an authentication resource (re-use the logic found in websockets.ts) on app initialization
  • Set it as a cookie, make sure it expires on the same moment as the signed authentication resource. Set the Secure attribute.
  • Make sure it works by creating a new Drive, uploading an Image and checking if you can view it

Of course, this also requires the back-end implementation

Metadata

Metadata

Assignees

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