-
-
Notifications
You must be signed in to change notification settings - Fork 9.2k
Closed
Labels
issue: feature requestIssue suggesting a new featureIssue suggesting a new featureseverity: lowIf the issue only affects a very niche base of users and an easily implemented workaround can solveIf the issue only affects a very niche base of users and an easily implemented workaround can solve
Description
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 featureIssue suggesting a new featureseverity: lowIf the issue only affects a very niche base of users and an easily implemented workaround can solveIf the issue only affects a very niche base of users and an easily implemented workaround can solve