# \#delegation

**URL:** https://community.auth0.com/tag/delegation/173.md

[Latest](https://community.auth0.com/latest.md) · [Categories](https://community.auth0.com/categories.md) · [Tags](https://community.auth0.com/tags.md)

---

## [Delegation - The remote server returned an error: (504) Gateway Timeout](https://community.auth0.com/t/delegation-the-remote-server-returned-an-error-504-gateway-timeout/60024)

<div class="topic-metadata">

**Author:** [@eric.khaw](https://community.auth0.com/u/eric.khaw)\
**Replies:** 3\
**Last updated:** [March 30, 2021, 9:48am UTC](https://community.auth0.com/t/delegation-the-remote-server-returned-an-error-504-gateway-timeout/60024 "2021-03-30T09:48:49Z")

</div>

Dear all, Hope you are well. I having issue when calling web request to https://xxxxxx.eu.auth0.com/delegation. The response was “The remote server returned an error: (504) Gateway Timeout.” I am wondering is the Auth0…

---

## [/delegation route returning 504 Gateway Time-out](https://community.auth0.com/t/delegation-route-returning-504-gateway-time-out/60025)

<div class="topic-metadata">

**Author:** [@theguy159](https://community.auth0.com/u/theguy159)\
**Replies:** 4\
**Last updated:** [March 25, 2021, 9:51am UTC](https://community.auth0.com/t/delegation-route-returning-504-gateway-time-out/60025 "2021-03-25T09:51:29Z")

</div>

Hi there. We are getting a 504 Gateway timeout when trying to call the /delegation route. Not finding any info on this issue. Please help.

---

## [Delegation Token replacement](https://community.auth0.com/t/delegation-token-replacement/11136)

<div class="topic-metadata">

**Author:** [@ronald](https://community.auth0.com/u/ronald)\
**Replies:** 1\
**Last updated:** [December 18, 2018, 6:11pm UTC](https://community.auth0.com/t/delegation-token-replacement/11136 "2018-12-18T18:11:34Z")

</div>

Hi, Is there any news on an actual replacement for the delegation token? Client credentials grant isn’t a replacement for the jwt-bearer grant. You will lose the user context and need to provide it yourself as wel as fo…

---

## [Obtaining an AWS Tokens to securely call AWS APIs and resources - Delegation no longer working?](https://community.auth0.com/t/obtaining-an-aws-tokens-to-securely-call-aws-apis-and-resources-delegation-no-longer-working/7248)

<div class="topic-metadata">

**Author:** [@venn.hardy](https://community.auth0.com/u/venn.hardy)\
**Replies:** 7\
**Last updated:** [March 1, 2018, 10:05pm UTC](https://community.auth0.com/t/obtaining-an-aws-tokens-to-securely-call-aws-apis-and-resources-delegation-no-longer-working/7248 "2018-03-01T22:05:00Z")

</div>

Hi everyone, I’m very new to auth0 (actually stumbled across it today while reading a really good tutorial from auth0 about how to create some AWS lambda functions, then call them from a client angularJS app, with all o…

---

## [Token Delegation new Version](https://community.auth0.com/t/token-delegation-new-version/8901)

<div class="topic-metadata">

**Author:** [@santiago762000](https://community.auth0.com/u/santiago762000)\
**Replies:** 1\
**Last updated:** [December 7, 2017, 7:07pm UTC](https://community.auth0.com/t/token-delegation-new-version/8901 "2017-12-07T19:07:57Z")

</div>

I was reading that the topic delegation endpoint is deprecated. I’m interesting in generate temporal credential from AWS to interact with S3. You are saying that I can use OIDC Conformant Authentication for a similar beh…

---

## [Delegated Admin dashboard error : "secret or public key must be provided"](https://community.auth0.com/t/delegated-admin-dashboard-error-secret-or-public-key-must-be-provided/6415)

<div class="topic-metadata">

**Author:** [@jessica.l4m](https://community.auth0.com/u/jessica.l4m)\
**Replies:** 5\
**Last updated:** [December 3, 2017, 12:17am UTC](https://community.auth0.com/t/delegated-admin-dashboard-error-secret-or-public-key-must-be-provided/6415 "2017-12-03T00:17:13Z")

</div>

We are testing out the delegated administration dashboard extension and after following the steps in setup I’m getting “Oh snap! You got an error! An error occurred while retrieving list of users: secret or public key …

---

## [One last chance for Auth0 to keep me as a customer. Firebase delegation solution needed](https://community.auth0.com/t/one-last-chance-for-auth0-to-keep-me-as-a-customer-firebase-delegation-solution-needed/7825)

<div class="topic-metadata">

**Author:** [@adampmoore](https://community.auth0.com/u/adampmoore)\
**Replies:** 6\
**Last updated:** [September 1, 2017, 8:34pm UTC](https://community.auth0.com/t/one-last-chance-for-auth0-to-keep-me-as-a-customer-firebase-delegation-solution-needed/7825 "2017-09-01T20:34:01Z")

</div>

Since Auth0 has removed token delegation for new clients, I’m unable to use my firebase web app in a newly setup prod account. The documentation regarding this V8 migration is minimal and doesn’t provide enough info to …

---

## [Error "Grant type 'http://auth0.com/oauth/legacy/grant-type/delegation/id\_token' not allowed for the client" after saving settings](https://community.auth0.com/t/error-grant-type-http-auth0-com-oauth-legacy-grant-type-delegation-id-token-not-allowed-for-the-client-after-saving-settings/7182)

<div class="topic-metadata">

**Author:** [@andreev.artem](https://community.auth0.com/u/andreev.artem)\
**Replies:** 5\
**Last updated:** [August 30, 2017, 9:16pm UTC](https://community.auth0.com/t/error-grant-type-http-auth0-com-oauth-legacy-grant-type-delegation-id-token-not-allowed-for-the-client-after-saving-settings/7182 "2017-08-30T21:16:45Z")

</div>

I had working auth workflow using Lock widget (popup, google account) and signing in with customToken to Firebase. Then I had to update settings by adding one more host to “Allowed Origins (CORS)”. Initially I was getti…

---

## [Passwordless, Delegation and API Authorization](https://community.auth0.com/t/passwordless-delegation-and-api-authorization/7756)

<div class="topic-metadata">

**Author:** [@andrem](https://community.auth0.com/u/andrem)\
**Replies:** 3\
**Last updated:** [August 8, 2017, 1:14am UTC](https://community.auth0.com/t/passwordless-delegation-and-api-authorization/7756 "2017-08-08T01:14:56Z")

</div>

Hi, I have a client (first party, native, iOS) that: uses a Passwordless connection (SMS) uses Delegation (Firebase) is NOT flagged as OIDC conformant This client needs to retrieve an access token for use with a sepa…

---

## [How do you achieve the functionality described in the guide "Obtain AWS Tokens to securely call AWS APIs and resources" after June 8, 2017?](https://community.auth0.com/t/how-do-you-achieve-the-functionality-described-in-the-guide-obtain-aws-tokens-to-securely-call-aws-apis-and-resources-after-june-8-2017/7425)

<div class="topic-metadata">

**Author:** [@wlokes](https://community.auth0.com/u/wlokes)\
**Replies:** 1\
**Last updated:** [July 12, 2017, 4:34pm UTC](https://community.auth0.com/t/how-do-you-achieve-the-functionality-described-in-the-guide-obtain-aws-tokens-to-securely-call-aws-apis-and-resources-after-june-8-2017/7425 "2017-07-12T16:34:16Z")

</div>

The guide “Obtain AWS Tokens to securely call AWS APIs and resources” ( Integrate with Amazon Web Services and Products - Auth0 Docs) describes the exact functionality that I want, but I created my Auth0 account after Ju…

---

## [SAML Delegation](https://community.auth0.com/t/saml-delegation/7062)

<div class="topic-metadata">

**Author:** [@senthilnathansv](https://community.auth0.com/u/senthilnathansv)\
**Replies:** 1\
**Last updated:** [June 16, 2017, 8:50am UTC](https://community.auth0.com/t/saml-delegation/7062 "2017-06-16T08:50:56Z")

</div>

Once I login, I get id\_token. I am creating below POST Request to delegation endpoint. { “client\_id” : “\[CLIENT\_ID\]”, “grant\_type” : “urn:ietf:params:oauth:grant-type:jwt-bearer”, “target” : “\[CLIENT\_ID\]”, “api\_typ…

---

## [Issue with delegation for a new client application](https://community.auth0.com/t/issue-with-delegation-for-a-new-client-application/7051)

<div class="topic-metadata">

**Author:** [@edubeghe](https://community.auth0.com/u/edubeghe)\
**Replies:** 1\
**Last updated:** [June 14, 2017, 4:01pm UTC](https://community.auth0.com/t/issue-with-delegation-for-a-new-client-application/7051 "2017-06-14T16:01:39Z")

</div>

Recently we have created a new client, we copied all the old configuration, which used delegation to use LAYER API, and it worked fine. After the creation of the new client we noticed that delegation was deprecated for n…

---

## [AWS token delegation flow yields tokens that are already expired](https://community.auth0.com/t/aws-token-delegation-flow-yields-tokens-that-are-already-expired/6369)

<div class="topic-metadata">

**Author:** [@vegard](https://community.auth0.com/u/vegard)\
**Replies:** 0\
**Last updated:** [April 26, 2017, 1:14pm UTC](https://community.auth0.com/t/aws-token-delegation-flow-yields-tokens-that-are-already-expired/6369 "2017-04-26T13:14:55Z")

</div>

Hi! I’m trying to implement the approach documented here: And I have authentication set up and mostly working - I get AWS credentials back to my JS app. However, the credentials have an expiry set as the same time as…

---

## [Unable to add namespaced claims to ID Token while using /delegation with a refresh token flow](https://community.auth0.com/t/unable-to-add-namespaced-claims-to-id-token-while-using-delegation-with-a-refresh-token-flow/6253)

<div class="topic-metadata">

**Author:** [@jacob.wang](https://community.auth0.com/u/jacob.wang)\
**Replies:** 3\
**Last updated:** [April 19, 2017, 2:24pm UTC](https://community.auth0.com/t/unable-to-add-namespaced-claims-to-id-token-while-using-delegation-with-a-refresh-token-flow/6253 "2017-04-19T14:24:33Z")

</div>

It seems I’m not able to add additional custom claims to the ID Token for /delegation endpoint with a refresh token. I have a rule which adds custom claims to both the access token and ID token. From the webtask log I c…
