Planner app only access token check. #3261
Answered
by
waldekmastykarz
milanholemans
asked this question in
Ideas
|
Currently it's only possible to request Planner endpoints with a delegated token. App only tokens are not supported. I was wondering if it is useful to write a token check for these commands. When the user is logged in with an app only token, we could display an error message, something like I'm not 100% sure if this is a useful enhancement. What do you guys think? |
Answered by
waldekmastykarz
Apr 28, 2022
Replies: 1 comment 3 replies
|
Great suggestion! We can't do it in the validation stage, but we could do it as the first thing inside the command action. Ideally, let's centralize the logic in a util function that we can reuse across all command's where it applies. |
3 replies
Answer selected by
milanholemans
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Great suggestion! We can't do it in the validation stage, but we could do it as the first thing inside the command action. Ideally, let's centralize the logic in a util function that we can reuse across all command's where it applies.