Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

auth: Allow expiry to be specified in .createCustomToken #1017

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

rhodgkins
Copy link

Resolves #1016

At this time we cannot accept changes that affect the public API. If you'd like to help
us make Firebase APIs better, please propose your change in an issue so that we
can discuss it together.

If this gets a 👍 happy to do any changes needed, etc.!

@rhodgkins rhodgkins changed the title Auth - Allow expiry to be specified in .createCustomToken auth: Allow expiry to be specified in .createCustomToken Sep 2, 2020
@bojeil-google
Copy link
Contributor

Thanks for your contribution, @rhodgkins. This requires an internal API review and the API should not be Node.js specific. In addition, we need to check the service we use internally to mint these tokens are ok with the proposed changes. We may even need an internal launch review for this. Will need to double check it.

@googlebot
Copy link

We found a Contributor License Agreement for you (the sender of this pull request), but were unable to find agreements for all the commit author(s) or Co-authors. If you authored these, maybe you used a different email address in the git commits than was used to sign the CLA (login here to double check)? If these were authored by someone else, then they will need to sign a CLA as well, and confirm that they're okay with these being contributed to Google.
In order to pass this check, please resolve this problem and then comment @googlebot I fixed it.. If the bot doesn't comment, it means it doesn't think anything has changed.

ℹ️ Googlers: Go here for more info.

@googlebot
Copy link

CLAs look good, thanks!

ℹ️ Googlers: Go here for more info.

@felansu
Copy link

felansu commented Dec 22, 2020

🙃

@vmengh
Copy link

vmengh commented Sep 9, 2021

Hi @rhodgkins, This is a great feature that we are also looking to implement.
Any info from Google team, when this will be made public and available publicly?
Also, do you have have a way or suggestion to invalidate the custom JWT token on user logout. with the current setup although the user signs out from app but token is still usable / active for 60 mins (if accessed from outside) via postman or sorts.
@googlebot
Thanks

@rhodgkins
Copy link
Author

rhodgkins commented Sep 9, 2021

No idea sorry! I’ve given up waiting / keeping this up to date against conflicts now 🤷‍♂️

@dgrcode
Copy link

dgrcode commented Sep 27, 2021

It's really impressive the speed at which things move around here. I'm not being sarcastic, I'm genuinely impressed.

@rhodgkins thanks for the contribution. Hopefully in another year we'll have the needed reviews 🤞

@rhodgkins
Copy link
Author

18 months later - any updates? Happy to rebase this one last time if it's realistically going to be used...

@lahirumaramba lahirumaramba requested review from prameshj and removed request for bojeil-google March 17, 2022 18:02
@lahirumaramba
Copy link
Member

lahirumaramba commented Mar 17, 2022

Hi @rhodgkins Thank you again for your contribution!
I really want to thank you for your patience on this. As mentioned in one of the previous comments, this a special change that requires multiple internal processes (API review, internal verifications, and may be a launch review) to be completed and approved before we can merge the PR.

Since this feature is not included in any of the immediate roadmaps, it is going to take time to complete the internal approvals. I can't unfortunately promise you a timeline for when this feature will be released. However, I will discuss this with the team so that we can do our best to move forward.

@prameshj PTAL. It looks like bojeil-google@ already discussed this internally. Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[FR] auth: Allow expiry to be specified in .createCustomToken
8 participants