Authenticate API using token

Hi,

I opened the new account for User Management and was succesufully able to do the implementation with Spring Boot + Okta. For authenticated api’s its ask me the Login info and after entering the credentials I get the response.

What I would like to do is API security which, I’m getting the token from Insomnia (client) by passing (client_id, client_secret, audience, grant_type) and I get the token, however when I pass the token to call authenticated API, I get the Login screen? How can I avoid that ?

Is there a config that I need to do to avoid the Login screen if I pass the token in Insomnia/Postman.
In the allowed callback URL → I have this set " http://localhost:8080/{context}/login/oauth2/code/okta

Hi there, my name is Akash and I will be assisting you with this issue.

The token that you have referred here that is used for calling the authenticated API is an API token or Access Token? May I know how exactly you are making these calls? Please provide me with the screenshot or the code snippet that you are using to make the request.

Note: Make sure to redact any sensitive information.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.