<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Does anyone have recommendations on how services should authenticate to apps that use FA?]]></title><description><![CDATA[<p dir="auto">I've got an app providing an HTTP API. Users (i.e. people) authenticate to it using normal FA flows (e.g. OAuth login using authorization code grant with JWTs and refresh tokens).</p>
<p dir="auto">Now I want to have internal (and eventually partner) services access the API to perform certain bulk operations. They will have access to do things across various/multiple users, such as importing data or even new users, so they aren't authenticating on behalf of a given user/person. What kind of authn credentials should these services have?</p>
]]></description><link>https://fusionauth.io/community/forum/topic/66/does-anyone-have-recommendations-on-how-services-should-authenticate-to-apps-that-use-fa</link><generator>RSS for Node</generator><lastBuildDate>Mon, 20 Jul 2026 12:51:31 GMT</lastBuildDate><atom:link href="https://fusionauth.io/community/forum/topic/66.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 11 May 2020 17:36:44 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Does anyone have recommendations on how services should authenticate to apps that use FA? on Mon, 11 May 2020 17:39:42 GMT]]></title><description><![CDATA[<p dir="auto">This seems like a case for the client credentials grant, which is unfortunately still on the roadmap: <a href="https://github.com/FusionAuth/fusionauth-issues/issues/155" rel="nofollow ugc">https://github.com/FusionAuth/fusionauth-issues/issues/155</a> Not sure that would help with the rotation, though. Just like username and password approach, I don't believe the credentials grant lets you rotate creds in.</p>
<p dir="auto">Other options: you could look into a third party api management solution (as mentioned <a href="https://github.com/fusionauth/fusionauth-issues/issues/133" rel="nofollow ugc">here</a>).</p>
<p dir="auto">Could you use longer lived JWTs but then a webhook to revoke them, as outlined here: <a href="https://fusionauth.io/learn/expert-advice/tokens/revoking-jwts" rel="nofollow ugc">https://fusionauth.io/learn/expert-advice/tokens/revoking-jwts</a> ?</p>
<p dir="auto">You can control the duration on an application by application basis (so all JWTs issued by one application have to have the same length). You could create a 'services' application that only these services would have registrations with, not sure if that would work.</p>
]]></description><link>https://fusionauth.io/community/forum/post/145</link><guid isPermaLink="true">https://fusionauth.io/community/forum/post/145</guid><dc:creator><![CDATA[dan]]></dc:creator><pubDate>Mon, 11 May 2020 17:39:42 GMT</pubDate></item></channel></rss>