<?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[Topics tagged with authorization]]></title><description><![CDATA[A list of topics that have been tagged with authorization]]></description><link>https://fusionauth.io/community/forum/tags/authorization</link><generator>RSS for Node</generator><lastBuildDate>Sun, 19 Jul 2026 03:48:54 GMT</lastBuildDate><atom:link href="https://fusionauth.io/community/forum/tags/authorization.rss" rel="self" type="application/rss+xml"/><pubDate>Invalid Date</pubDate><ttl>60</ttl><item><title><![CDATA[&quot;Invalid Authorization Code&quot; while implementing the Authorization Code Flow with Proof Key for Code Exchange (PKCE)]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://fusionauth.io/community/forum/uid/20">@dan</a></p>
<p dir="auto">I actually got the issue resolved, I had the PKCE configured as "Not Required". After I changed that to "Required" the flow worked as expected.</p>
<p dir="auto">Thanks.</p>
]]></description><link>https://fusionauth.io/community/forum/topic/1515/invalid-authorization-code-while-implementing-the-authorization-code-flow-with-proof-key-for-code-exchange-pkce</link><guid isPermaLink="true">https://fusionauth.io/community/forum/topic/1515/invalid-authorization-code-while-implementing-the-authorization-code-flow-with-proof-key-for-code-exchange-pkce</guid><dc:creator><![CDATA[apeksha.barhanpur]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[error 401 depends on API Key settings]]></title><description><![CDATA[<p dir="auto">I tried with all HTTP methods enabled for /api/user only, and it update user successfully.<br />
But if I tried only with GET and PATCH methods enabled for /api/user , I get 'statusCode=401'.<br />
Here is code</p>
import { FusionAuthClient, UserRequest } from '@fusionauth/typescript-client'
...
export class FusionAuthService {
    private fusionAuthClient: FusionAuthClient;

    constructor(private context: Context) {
        this.fusionAuthClient = new FusionAuthClient(context.config.fusionAuth.apiKey, context.config.fusionAuth.apiUrl);
    }

...
    public async updateUser(userId: string, userRequest: UserRequest ) {
        return this.fusionAuthClient.updateUser(userId, userRequest)
            .then(clientResponse =&gt; {
                logger.info("User:", JSON.stringify(clientResponse.response.user, null, 2));
            }).catch(logger.error);
    }

<p dir="auto">here is invocation of updateUser method that happens on 'user.registration.create' event</p>
        if (user) {
            const patchBody = {
                user: {
                    email: event.user.email,
                    data: {
                        userId: user.id
                    }
                },
            }
            await this.fusionAuthService.updateUser(event.user.id, patchBody);
        }


<p dir="auto">Now I understand that I use updateUser method and I don't know what kind of HTTP request it used.<br />
I have found  patchUser and with it get success.</p>
<p dir="auto">Thanks for your help.</p>
]]></description><link>https://fusionauth.io/community/forum/topic/1442/error-401-depends-on-api-key-settings</link><guid isPermaLink="true">https://fusionauth.io/community/forum/topic/1442/error-401-depends-on-api-key-settings</guid><dc:creator><![CDATA[muravyov.alexey]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Additional resources for identity]]></title><description><![CDATA[<p dir="auto">I have enjoyed these books:</p>
<p dir="auto"><a href="https://www.manning.com/books/oauth-2-in-action" rel="nofollow ugc">https://www.manning.com/books/oauth-2-in-action</a> very specific to OAuth, lots of code)</p>
<p dir="auto"><a href="https://www.apress.com/gp/book/9781484250945" rel="nofollow ugc">https://www.apress.com/gp/book/9781484250945</a> More focused on bigger identity strategies and problems.</p>
<p dir="auto">Also, the IDPro body of knowledge is free and useful:</p>
<p dir="auto"><a href="https://idpro.org/body-of-knowledge/" rel="nofollow ugc">https://idpro.org/body-of-knowledge/</a></p>
]]></description><link>https://fusionauth.io/community/forum/topic/1336/additional-resources-for-identity</link><guid isPermaLink="true">https://fusionauth.io/community/forum/topic/1336/additional-resources-for-identity</guid><dc:creator><![CDATA[dan]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Can I get permissions granted to a user against an Entity in an OAuth grant]]></title><description><![CDATA[<p dir="auto">The ability to search grants for a user was a gap in our documentation. We have since released an update to showcase/describe the use case.</p>
<p dir="auto"><a href="https://fusionauth.io/docs/v1/tech/apis/entity-management/grants/#search-for-grants" rel="nofollow ugc">https://fusionauth.io/docs/v1/tech/apis/entity-management/grants/#search-for-grants</a></p>
<p dir="auto">Your API endpoint call will look like below:</p>
GET /api/entity/grant/search?userId={uuid}

<p dir="auto">Additional possible filtering functionality is documented in this <a href="https://github.com/FusionAuth/fusionauth-issues/issues/1511" rel="nofollow ugc">feature request</a>.</p>
]]></description><link>https://fusionauth.io/community/forum/topic/1118/can-i-get-permissions-granted-to-a-user-against-an-entity-in-an-oauth-grant</link><guid isPermaLink="true">https://fusionauth.io/community/forum/topic/1118/can-i-get-permissions-granted-to-a-user-against-an-entity-in-an-oauth-grant</guid><dc:creator><![CDATA[dan]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Length of time for authorization code]]></title><description><![CDATA[<p dir="auto">It's configurable. If you go to the tenant details page, then to the Advanced tab, you'll see the setting there; it's called Authorization Code. It's also documented in the tenant API, search for tenant.externalIdentifierConfiguration.authorizationGrantIdTimeToLiveInSeconds here: <a href="https://fusionauth.io/docs/v1/tech/apis/tenants" rel="nofollow ugc">https://fusionauth.io/docs/v1/tech/apis/tenants</a></p>
<p dir="auto">Looks like valid durations are between 1 and 600 seconds.</p>
]]></description><link>https://fusionauth.io/community/forum/topic/380/length-of-time-for-authorization-code</link><guid isPermaLink="true">https://fusionauth.io/community/forum/topic/380/length-of-time-for-authorization-code</guid><dc:creator><![CDATA[dan]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Does anyone have recommendations on how services should authenticate to apps that use FA?]]></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/topic/66/does-anyone-have-recommendations-on-how-services-should-authenticate-to-apps-that-use-fa</link><guid isPermaLink="true">https://fusionauth.io/community/forum/topic/66/does-anyone-have-recommendations-on-how-services-should-authenticate-to-apps-that-use-fa</guid><dc:creator><![CDATA[dan]]></dc:creator><pubDate>Invalid Date</pubDate></item></channel></rss>