DEV Community

Max Katz for Okta Workflows

Posted on • Originally published at maxkatz.net on

How to Fix a 403 Forbidden Error When Using Search Systems Logs Card

Okta Workflows how-to guides are questions and answers from weekly community office hours, MacAdmins Workflows Slack channel, and other places.

Read all the other how-to guides ⤵️

On to the question.

How to fix 403 Forbidden error when using Search Systems Logs card?

Okta – Search Systems Logs card allows you to search the Okta log by a keyword (and also expression, set in Options ):

Search Systems Logs card

Search Systems Logs card

When a run a flow with this card, you might get a 403 Forbidden error:

403 Forbidden error with Search Systems Logs card

403 Forbidden error with Search Systems Logs card

To fix this error you need to grand an additional scope to the Okta connection.

  1. From the Admin Console , go to Applications > Applications
  2. Click on Okta Workflows OAuth
  3. Open Okta API Scopes tab
  4. Find okta.logs.read scope and click Grant
  5. For this scope to take affect, you need to reauthorize the connection being used

Granding a scope to a connection

Granding a scope to a connection

After you reauthorize, run the flow again. The card is now able to search the logs:

Search Systems Logs card

Search Systems Logs card

🙏🏼 Thanks to Bryan Barrows (LinkedIn, blog) who helped with this question on MacAdmins Slack channel.


More resources to help you learn :

📺 Short how-to Workflows videos to help you become a better automation builder.

🍭 A collection of helpful Workflows tips.

Postmark Image

Speedy emails, satisfied customers

Are delayed transactional emails costing you user satisfaction? Postmark delivers your emails almost instantly, keeping your customers happy and connected.

Sign up

Top comments (0)

Billboard image

Create up to 10 Postgres Databases on Neon's free plan.

If you're starting a new project, Neon has got your databases covered. No credit cards. No trials. No getting in your way.

Try Neon for Free →

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay