Skip to content

Access admin panel through link with token #1454

@guillermodoghel

Description

@guillermodoghel

Depending the user role, I have an admin panel link in my frontend. But due its in another host, admin user needs to login again. I would love to have a way to access de admin panel via an href, something like http://localhost:1337/admin/?login=asdfasdfasdf.... that allows me to enter directly into the admin panel without need to re-login

What is the expected behavior?

Given a route to the admin panel, allow to login using the JWT token as a parameter. (asuming I got the token from the login request from the API)
IE: http://localhost:1337/admin/?login=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MywiaWF0IjoxNTMwMDIwMzkxLCJleHAiOjE1MzI2MTIzOTF9.9FDMq7GCSjf4ZGRnHQX-uZsf73YGQmAo_TpRYbI6RbA

Gets me into de admin page without having to login

Metadata

Metadata

Assignees

Labels

issue: feature requestIssue suggesting a new featureseverity: lowIf the issue only affects a very niche base of users and an easily implemented workaround can solve

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions